{"action":"created","issue":{"url":"https://api.github.com/repos/ipselon/structor/issues/56","repository_url":"https://api.github.com/repos/ipselon/structor","labels_url":"https://api.github.com/repos/ipselon/structor/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/ipselon/structor/issues/56/comments","events_url":"https://api.github.com/repos/ipselon/structor/issues/56/events","html_url":"https://github.com/ipselon/structor/issues/56","id":151010306,"number":56,"title":"windows + structor + material ui","user":{"login":"jeffallen6767","id":1063272,"avatar_url":"https://avatars.githubusercontent.com/u/1063272?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffallen6767","html_url":"https://github.com/jeffallen6767","followers_url":"https://api.github.com/users/jeffallen6767/followers","following_url":"https://api.github.com/users/jeffallen6767/following{/other_user}","gists_url":"https://api.github.com/users/jeffallen6767/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffallen6767/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffallen6767/subscriptions","organizations_url":"https://api.github.com/users/jeffallen6767/orgs","repos_url":"https://api.github.com/users/jeffallen6767/repos","events_url":"https://api.github.com/users/jeffallen6767/events{/privacy}","received_events_url":"https://api.github.com/users/jeffallen6767/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2016-04-26T00:04:05Z","updated_at":"2016-05-26T03:51:00Z","closed_at":null,"body":"Hi,\r\n\r\n  I've been following your project structor ( since it was \"react-ui-builder\" ) and really like it, I think you're doing great work, but now that I'm trying the latest version, I'm having an issue:\r\n\r\n  I'm on windows 8.1 if that matters, and using chrome browser.\r\n\r\n  I've tried the 2 different ways ( listed here: https://github.com/ipselon/structor ) to install material ui for structor, and I've even tried to npm uninstall structor and npm install -g structor again to make sure I have the latest, and still I get the same error.\r\n\r\nGET http://localhost:2222/structor-dev/\\_\\_build\\_\\_/bundle.js  results in a 404 error\r\n\r\nI'm attaching a screenshot showing the network tab in chrome dev tools.\r\n\r\nThanks for any help! Love the project!\r\n\r\n![structor-material-ui-install](https://cloud.githubusercontent.com/assets/1063272/14802646/61fc9f58-0b07-11e6-9290-08f943c8bd59.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ipselon/structor/issues/comments/221771040","html_url":"https://github.com/ipselon/structor/issues/56#issuecomment-221771040","issue_url":"https://api.github.com/repos/ipselon/structor/issues/56","id":221771040,"user":{"login":"gehad-shaat","id":6731998,"avatar_url":"https://avatars.githubusercontent.com/u/6731998?v=3","gravatar_id":"","url":"https://api.github.com/users/gehad-shaat","html_url":"https://github.com/gehad-shaat","followers_url":"https://api.github.com/users/gehad-shaat/followers","following_url":"https://api.github.com/users/gehad-shaat/following{/other_user}","gists_url":"https://api.github.com/users/gehad-shaat/gists{/gist_id}","starred_url":"https://api.github.com/users/gehad-shaat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gehad-shaat/subscriptions","organizations_url":"https://api.github.com/users/gehad-shaat/orgs","repos_url":"https://api.github.com/users/gehad-shaat/repos","events_url":"https://api.github.com/users/gehad-shaat/events{/privacy}","received_events_url":"https://api.github.com/users/gehad-shaat/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T03:51:00Z","updated_at":"2016-05-26T03:51:00Z","body":"I am having the same issue on Windows 10, I tried uninstalling, different versions of node, cygwin, git bash but nothing worked.\r\n\r\nI also tried cloud9 and that didn't work either.\r\nFetch API cannot load https://c9users.io/_user_content/authorize?redirect=http%3A%2F%2Fmaterial-ui-gehad3003.c9users.io%3A8080%2Fstructor-project-download. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://material-ui-gehad3003.c9users.io:8080' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.\r\n\r\nHere is what I get when I do:\r\nstructor -v\r\nWebpack configuration:\r\n{\r\n    \"devtool\": \"inline-source-map\",\r\n    \"plugins\": [\r\n        {},\r\n        {},\r\n        {}\r\n    ],\r\n    \"module\": {\r\n        \"loaders\": [\r\n            {\r\n                \"test\": {},\r\n                \"exclude\": {},\r\n                \"loader\": \"babel\",\r\n                \"query\": {\r\n                    \"cacheDirectory\": true,\r\n                    \"presets\": [\r\n                        \"react-hmre\"\r\n                    ],\r\n                    \"plugins\": [\r\n                        \"babel-plugin-add-module-exports\"\r\n                    ]\r\n                }\r\n            },\r\n            {\r\n                \"test\": {},\r\n                \"exclude\": {},\r\n                \"loader\": \"style-loader!css-loader\"\r\n            },\r\n            {\r\n                \"test\": {},\r\n                \"exclude\": {},\r\n                \"loader\": \"url-loader\"\r\n            }\r\n        ],\r\n        \"unknownContextRequest\": \".\",\r\n        \"unknownContextRecursive\": true,\r\n        \"unknownContextRegExp\": {},\r\n        \"unknownContextCritical\": true,\r\n        \"exprContextRequest\": \".\",\r\n        \"exprContextRegExp\": {},\r\n        \"exprContextRecursive\": true,\r\n        \"exprContextCritical\": true,\r\n        \"wrappedContextRegExp\": {},\r\n        \"wrappedContextRecursive\": true,\r\n        \"wrappedContextCritical\": false\r\n    },\r\n    \"resolve\": {\r\n        \"root\": [\r\n            \"C:/personal/structor_samples/structor-starter-prepack/node_modules\",\r\n            \"C:/Users/ShaatDell/AppData/Roaming/npm/node_modules/structor/node_modules\"\r\n        ],\r\n        \"fastUnsafe\": [],\r\n        \"alias\": {},\r\n        \"packageAlias\": \"browser\",\r\n        \"modulesDirectories\": [\r\n            \"web_modules\",\r\n            \"node_modules\"\r\n        ],\r\n        \"packageMains\": [\r\n            \"webpack\",\r\n            \"browser\",\r\n            \"web\",\r\n            \"browserify\",\r\n            [\r\n                \"jam\",\r\n                \"main\"\r\n            ],\r\n            \"main\"\r\n        ],\r\n        \"extensions\": [\r\n            \"\",\r\n            \".webpack.js\",\r\n            \".web.js\",\r\n            \".js\",\r\n            \".json\"\r\n        ]\r\n    },\r\n    \"externals\": {\r\n        \"jquery\": \"jQuery\"\r\n    },\r\n    \"entry\": [\r\n        \"webpack-hot-middleware/client?path=/structor-dev/a&overlay=false\",\r\n        \"C:/personal/structor_samples/structor-starter-prepack/.structor/src/default.js\"\r\n    ],\r\n    \"output\": {\r\n        \"path\": \"C:\\\\personal\\\\structor_samples\\\\structor-starter-prepack\\\\.structor\\\\desk\\\\__build__\",\r\n        \"filename\": \"bundle.js\",\r\n        \"publicPath\": \"/structor-dev/__build__\",\r\n        \"libraryTarget\": \"var\",\r\n        \"sourceMapFilename\": \"[file].map[query]\",\r\n        \"hotUpdateChunkFilename\": \"[id].[hash].hot-update.js\",\r\n        \"hotUpdateMainFilename\": \"[hash].hot-update.json\",\r\n        \"crossOriginLoading\": false,\r\n        \"hashFunction\": \"md5\",\r\n        \"hashDigest\": \"hex\",\r\n        \"hashDigestLength\": 20,\r\n        \"sourcePrefix\": \"\\t\",\r\n        \"devtoolLineToLine\": false\r\n    },\r\n    \"debug\": false,\r\n    \"cache\": true,\r\n    \"context\": \"C:\\\\personal\\\\structor_samples\\\\structor-starter-prepack\",\r\n    \"target\": \"web\",\r\n    \"node\": {\r\n        \"console\": false,\r\n        \"process\": true,\r\n        \"global\": true,\r\n        \"setImmediate\": true,\r\n        \"__filename\": \"mock\",\r\n        \"__dirname\": \"mock\"\r\n    },\r\n    \"resolveLoader\": {\r\n        \"fastUnsafe\": [],\r\n        \"alias\": {},\r\n        \"modulesDirectories\": [\r\n            \"web_loaders\",\r\n            \"web_modules\",\r\n            \"node_loaders\",\r\n            \"node_modules\"\r\n        ],\r\n        \"packageMains\": [\r\n            \"webpackLoader\",\r\n            \"webLoader\",\r\n            \"loader\",\r\n            \"main\"\r\n        ],\r\n        \"extensions\": [\r\n            \"\",\r\n            \".webpack-loader.js\",\r\n            \".web-loader.js\",\r\n            \".loader.js\",\r\n            \".js\"\r\n        ],\r\n        \"moduleTemplates\": [\r\n            \"*-webpack-loader\",\r\n            \"*-web-loader\",\r\n            \"*-loader\",\r\n            \"*\"\r\n        ]\r\n    },\r\n    \"optimize\": {\r\n        \"occurenceOrderPreferEntry\": true\r\n    }\r\n}\r\nStructor is ready to work\r\nOpen address: http://localhost:2222/structor in the browser.\r\nwebpack built 0b7cf2a8f41d41c87bd1 in 2652ms\r\nHash: 0b7cf2a8f41d41c87bd1\r\nVersion: webpack 1.12.14\r\nTime: 2652ms\r\n    Asset     Size  Chunks       Chunk Names\r\nbundle.js  7.68 MB       0       main\r\nchunk    {0} bundle.js (main) 2.95 MB [rendered]\r\n    [0] multi main 40 bytes {0} [built]\r\n[TRUNCATED....]\r\n  [553] ./src/client/assets/fonts/fontawesome-webfont.woff?v=4.4.0 108 kB {0} [built]\r\n\r\nERROR in ./~/lodash/lodash.js\r\nModule not found: Error: Cannot resolve 'file' or 'directory' ./../../../../../Users/ShaatDell/AppData/Roaming/npm/node_modules/structor/node_modules/webpack/buildin/module.js in C:/personal/structor_samples/structor-starter-prepack/node_modules\\lodash\r\n @ ./~/lodash/lodash.js 1:0-124\r\n\r\nERROR in ./~/babel-runtime/regenerator/runtime.js\r\nModule not found: Error: Cannot resolve 'file' or 'directory' ./../../../../../../Users/ShaatDell/AppData/Roaming/npm/node_modules/structor/node_modules/webpack/buildin/module.js in C:/personal/structor_samples/structor-starter-prepack/node_modules\\babel-runtime\\regenerator\r\n @ ./~/babel-runtime/regenerator/runtime.js 1:0-127\r\n\r\nERROR in ./~/lodash/_root.js\r\nModule not found: Error: Cannot resolve 'file' or 'directory' ./../../../../../Users/ShaatDell/AppData/Roaming/npm/node_modules/structor/node_modules/webpack/buildin/module.js in C:/personal/structor_samples/structor-starter-prepack/node_modules\\lodash\r\n @ ./~/lodash/_root.js 1:0-124\r\nwebpack: bundle is now VALID.\r\n"}}
{"actor":{"display_login":"gehad-shaat"}}