{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/10062","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/10062/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/10062/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/10062/events","html_url":"https://github.com/angular/angular-cli/issues/10062","id":308344023,"node_id":"MDU6SXNzdWUzMDgzNDQwMjM=","number":10062,"title":"ReferenceError: window is not defined (ng-build --aot)","user":{"login":"sagarloona4180","id":29095795,"node_id":"MDQ6VXNlcjI5MDk1Nzk1","avatar_url":"https://avatars3.githubusercontent.com/u/29095795?v=4","gravatar_id":"","url":"https://api.github.com/users/sagarloona4180","html_url":"https://github.com/sagarloona4180","followers_url":"https://api.github.com/users/sagarloona4180/followers","following_url":"https://api.github.com/users/sagarloona4180/following{/other_user}","gists_url":"https://api.github.com/users/sagarloona4180/gists{/gist_id}","starred_url":"https://api.github.com/users/sagarloona4180/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagarloona4180/subscriptions","organizations_url":"https://api.github.com/users/sagarloona4180/orgs","repos_url":"https://api.github.com/users/sagarloona4180/repos","events_url":"https://api.github.com/users/sagarloona4180/events{/privacy}","received_events_url":"https://api.github.com/users/sagarloona4180/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-25T12:02:55Z","updated_at":"2018-12-07T11:35:58Z","closed_at":"2018-12-07T11:35:58Z","author_association":"NONE","body":"ERROR in ./src/main.ts\r\nModule not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'C:\\Users\\Sagar\\Documents\\my-ngccrm\\ngccrm-cli\\src'\r\nERROR in C:/Users/Sagar/Documents/my-ngccrm/ngccrm-cli/node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css:132\r\n        return window && document && document.all && !window.atob;\r\n        ^\r\n\r\nReferenceError: window is not defined\r\n    at C:/Users/Sagar/Documents/my-ngccrm/ngccrm-cli/node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css:132:2\r\n    at C:/Users/Sagar/Documents/my-ngccrm/ngccrm-cli/node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css:121:46\r\n    at ./node_modules/style-loader/lib/addStyles.js.module.exports (C:/Users/Sagar/Documents/my-ngccrm/ngccrm-cli/node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css:176:88)\r\n    at Object../node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css (C:/Users/Sagar/Documents/my-ngccrm/ngccrm-cli/node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css:82:81)\r\n    at __webpack_require__ (C:/Users/Sagar/Documents/my-ngccrm/ngccrm-cli/node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css:20:30)\r\n    at C:/Users/Sagar/Documents/my-ngccrm/ngccrm-cli/node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css:63:18\r\n    at C:/Users/Sagar/Documents/my-ngccrm/ngccrm-cli/node_modules/ngx-perfect-scrollbar/dist/lib/perfect-scrollbar.component.css:66:10\r\n    at ContextifyScript.Script.runInContext (vm.js:59:29)\r\n    at ContextifyScript.Script.runInNewContext (vm.js:65:15)\r\n    at Object.runInNewContext (vm.js:135:38)\r\n\r\n\r\n\r\n\r\n\r\nmy package.json\r\n\r\n\r\n\r\n{\r\n  \"name\": \"ngccrm\",\r\n  \"version\": \"0.0.0\",\r\n  \"license\": \"MIT\",\r\n  \"scripts\": {\r\n    \"ng\": \"ng\",\r\n    \"start\": \"ng serve\",\r\n    \"build\": \"ng build --aot  --env=prod\",\r\n    \"test\": \"ng test\",\r\n    \"lint\": \"ng lint\",\r\n    \"e2e\": \"ng e2e\"\r\n  },\r\n  \"private\": true,\r\n  \"dependencies\": {\r\n    \"@angular/animations\": \"^4.3.6\",\r\n    \"@angular/common\": \"^4.3.6\",\r\n    \"@angular/compiler\": \"^4.4.6\",\r\n    \"@angular/core\": \"^4.3.6\",\r\n    \"@angular/forms\":\"^4.3.6\",\r\n    \"@angular/http\": \"^4.3.6\",\r\n    \"@angular/platform-browser\": \"^4.3.6\",\r\n    \"@angular/platform-browser-dynamic\": \"^4.3.6\",\r\n    \"@angular/router\": \"^4.3.6\",\r\n    \"@types/jquery\": \"^3.2.11\",\r\n    \"@types/moment\": \"^2.13.0\",\r\n    \"angular2-loaders-css\": \"^1.0.9\",\r\n    \"bootstrap\": \"^3.3.7\",\r\n    \"classlist.js\": \"^1.1.20150312\",\r\n    \"core-js\": \"^2.4.1\",\r\n    \"file-saver\": \"^1.3.3\",\r\n    \"install\": \"^0.10.1\",\r\n    \"jquery\": \"^3.2.1\",\r\n    \"jspdf\": \"^1.3.5\",\r\n    \"jspdf-autotable\": \"^2.3.2\",\r\n    \"jszip\": \"^3.1.4\",\r\n    \"moment\": \"^2.18.1\",\r\n    \"ng2-bs3-modal\": \"0.13.0\",\r\n    \"ngx-bootstrap\": \"^2.0.3\",\r\n    \"ngx-perfect-scrollbar\": \"^4.9.6\",\r\n    \"ngx-popover\": \"0.0.16\",\r\n    \"node-sass\": \"^4.7.2\",\r\n    \"npm\": \"^5.5.1\",\r\n    \"rxjs\": \"^5.1.0\",\r\n    \"web-animations-js\": \"^2.3.1\",\r\n    \"zone.js\": \"^0.8.4\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@angular/cli\": \"^1.4.0\",\r\n    \"@angular/compiler-cli\": \"^4.3.6\",\r\n    \"@angular/language-service\":\"^4.3.6\",\r\n    \"@types/jasmine\": \"2.5.38\",\r\n    \"@types/node\": \"~6.0.60\",\r\n    \"codelyzer\": \"~2.0.0\",\r\n    \"dargs\": \"^5.1.0\",\r\n    \"grunt\": \"^1.0.1\",\r\n    \"grunt-contrib-jshint\": \"^1.1.0\",\r\n    \"grunt-contrib-sass\": \"^1.0.0\",\r\n    \"jasmine-core\": \"~2.5.2\",\r\n    \"jasmine-spec-reporter\": \"~3.2.0\",\r\n    \"karma\": \"~1.4.1\",\r\n    \"karma-chrome-launcher\": \"~2.1.1\",\r\n    \"karma-cli\": \"~1.0.1\",\r\n    \"karma-coverage-istanbul-reporter\": \"^0.2.0\",\r\n    \"karma-jasmine\": \"~1.1.0\",\r\n    \"karma-jasmine-html-reporter\": \"^0.2.2\",\r\n    \"protractor\": \"~5.1.0\",\r\n    \"ts-node\": \"~2.0.0\",\r\n    \"tslint\": \"~4.5.0\",\r\n    \"typescript\": \"2.4.0\"\r\n  }\r\n}\r\n"}}
{"actor":{"display_login":"alan-agius4"}}