{"action":"created","issue":{"url":"https://api.github.com/repos/akveo/ng2-admin/issues/646","repository_url":"https://api.github.com/repos/akveo/ng2-admin","labels_url":"https://api.github.com/repos/akveo/ng2-admin/issues/646/labels{/name}","comments_url":"https://api.github.com/repos/akveo/ng2-admin/issues/646/comments","events_url":"https://api.github.com/repos/akveo/ng2-admin/issues/646/events","html_url":"https://github.com/akveo/ng2-admin/issues/646","id":203640990,"number":646,"title":"Module build failed: ReferenceError: window is not defined","user":{"login":"rahuldev761","id":13678247,"avatar_url":"https://avatars.githubusercontent.com/u/13678247?v=3","gravatar_id":"","url":"https://api.github.com/users/rahuldev761","html_url":"https://github.com/rahuldev761","followers_url":"https://api.github.com/users/rahuldev761/followers","following_url":"https://api.github.com/users/rahuldev761/following{/other_user}","gists_url":"https://api.github.com/users/rahuldev761/gists{/gist_id}","starred_url":"https://api.github.com/users/rahuldev761/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahuldev761/subscriptions","organizations_url":"https://api.github.com/users/rahuldev761/orgs","repos_url":"https://api.github.com/users/rahuldev761/repos","events_url":"https://api.github.com/users/rahuldev761/events{/privacy}","received_events_url":"https://api.github.com/users/rahuldev761/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-27T13:54:57Z","updated_at":"2017-01-28T11:07:31Z","closed_at":null,"body":"* **I'm submitting a ...**\r\n[* ] bug report\r\n[ ] feature request\r\n[ ] question about the decisions made in the repository\r\n\r\n* **Do you want to request a *feature* or report a *bug*?**\r\nI want to report a bug after re-install node modules..\r\n\r\n\r\n* **What is the current behavior?**\r\nI just delete node_modules folder and re install it using **npm install** after install I run it using **npm start** and it through error \r\n\r\n```\r\nERROR in ./src/app/theme/initial.scss\r\nModule build failed: ReferenceError: window is not defined\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:186:30\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:181:47\r\n    at module.exports (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:203:68)\r\n    at Object.module.exports../node_modules/style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/sass-loader/index.js?sourceMap!./src/app/theme/initial.scss (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:432:77)\r\n    at __webpack_require__ (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:21:30)\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:65:18\r\n    at Object.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:68:10)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.loaderContext.exec (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/NormalModule.js:94:6)\r\n    at Object.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/extract-text-webpack-plugin/loader.js:101:21)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:251:10)\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:442:12\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:138:11)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/extract-text-webpack-plugin/loader.js:82:4)\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:140:14)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/awesome-typescript-loader/src/instance.ts:399:13)\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:140:14)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/CachePlugin.js:61:4)\r\n    at Compiler.applyPluginsAsyncSeries (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:142:13)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:439:9)\r\n    at Compilation.applyPluginsAsyncSeries (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:131:46)\r\n    at Compilation.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compilation.js:621:18)\r\n\r\nERROR in ./src/app/theme/initial.scss\r\nModule build failed: ReferenceError: window is not defined\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:186:30\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:181:47\r\n    at module.exports (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:203:68)\r\n    at Object.module.exports../node_modules/style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/sass-loader/index.js?sourceMap!./src/app/theme/initial.scss (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:432:77)\r\n    at __webpack_require__ (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:21:30)\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:65:18\r\n    at Object.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:68:10)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.loaderContext.exec (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/NormalModule.js:94:6)\r\n    at Object.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/extract-text-webpack-plugin/loader.js:101:21)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:251:10)\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:442:12\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:138:11)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/extract-text-webpack-plugin/loader.js:82:4)\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:140:14)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/awesome-typescript-loader/src/instance.ts:399:13)\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:140:14)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/CachePlugin.js:61:4)\r\n    at Compiler.applyPluginsAsyncSeries (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:142:13)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:439:9)\r\n    at Compilation.applyPluginsAsyncSeries (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:131:46)\r\n    at Compilation.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compilation.js:621:18)\r\n\r\nERROR in ./src/app/theme/initial.scss\r\nModule build failed: ReferenceError: window is not defined\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:186:30\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:181:47\r\n    at module.exports (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:203:68)\r\n    at Object.module.exports../node_modules/style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/sass-loader/index.js?sourceMap!./src/app/theme/initial.scss (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:432:77)\r\n    at __webpack_require__ (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:21:30)\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:65:18\r\n    at Object.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss:68:10)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.loaderContext.exec (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/NormalModule.js:94:6)\r\n    at Object.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/extract-text-webpack-plugin/loader.js:101:21)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:251:10)\r\n    at /home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:442:12\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:138:11)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/extract-text-webpack-plugin/loader.js:82:4)\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:140:14)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/awesome-typescript-loader/src/instance.ts:399:13)\r\n    at next (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:140:14)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/CachePlugin.js:61:4)\r\n    at Compiler.applyPluginsAsyncSeries (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:142:13)\r\n    at Compiler.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compiler.js:439:9)\r\n    at Compilation.applyPluginsAsyncSeries (/home/rahul/Documents/codebase/ng2-admin/node_modules/tapable/lib/Tapable.js:131:46)\r\n    at Compilation.<anonymous> (/home/rahul/Documents/codebase/ng2-admin/node_modules/webpack/lib/Compilation.js:621:18)\r\n\r\nERROR in /home/rahul/Documents/codebase/ng2-admin/node_modules/raw-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/extract-text-webpack-plugin/loader.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/style-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/css-loader/index.js!/home/rahul/Documents/codebase/ng2-admin/node_modules/sass-loader/index.js?sourceMap!/home/rahul/Documents/codebase/ng2-admin/src/app/theme/initial.scss doesn't export content\r\n\r\n```\r\n\r\n\r\n* **Please tell us about your environment:**\r\n\r\n- Angular version: 2.0.0\r\n- Browser: [Chrome XX ]\r\n- ng2-admin version 0.7.0\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/akveo/ng2-admin/issues/comments/275842007","html_url":"https://github.com/akveo/ng2-admin/issues/646#issuecomment-275842007","issue_url":"https://api.github.com/repos/akveo/ng2-admin/issues/646","id":275842007,"user":{"login":"burger1992","id":16180048,"avatar_url":"https://avatars.githubusercontent.com/u/16180048?v=3","gravatar_id":"","url":"https://api.github.com/users/burger1992","html_url":"https://github.com/burger1992","followers_url":"https://api.github.com/users/burger1992/followers","following_url":"https://api.github.com/users/burger1992/following{/other_user}","gists_url":"https://api.github.com/users/burger1992/gists{/gist_id}","starred_url":"https://api.github.com/users/burger1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burger1992/subscriptions","organizations_url":"https://api.github.com/users/burger1992/orgs","repos_url":"https://api.github.com/users/burger1992/repos","events_url":"https://api.github.com/users/burger1992/events{/privacy}","received_events_url":"https://api.github.com/users/burger1992/received_events","type":"User","site_admin":false},"created_at":"2017-01-28T11:07:31Z","updated_at":"2017-01-28T11:07:31Z","body":"1. do you have this issue with the master version?\r\n2. whats your OS?\r\n3. did you look at `./src/app/theme/initial.scss` ? look up this `window` var and let us know\r\n\r\n"}}
{"actor":{"display_login":"burger1992"}}