{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/5303","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/5303/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/5303/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/5303/events","html_url":"https://github.com/angular/angular-cli/issues/5303","id":212788379,"number":5303,"title":"ng build doesn't work when bootstrapping with UpgradeAdapter ","user":{"login":"gt11879","id":11321737,"avatar_url":"https://avatars3.githubusercontent.com/u/11321737?v=3","gravatar_id":"","url":"https://api.github.com/users/gt11879","html_url":"https://github.com/gt11879","followers_url":"https://api.github.com/users/gt11879/followers","following_url":"https://api.github.com/users/gt11879/following{/other_user}","gists_url":"https://api.github.com/users/gt11879/gists{/gist_id}","starred_url":"https://api.github.com/users/gt11879/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gt11879/subscriptions","organizations_url":"https://api.github.com/users/gt11879/orgs","repos_url":"https://api.github.com/users/gt11879/repos","events_url":"https://api.github.com/users/gt11879/events{/privacy}","received_events_url":"https://api.github.com/users/gt11879/received_events","type":"User","site_admin":false},"labels":[{"id":505657131,"url":"https://api.github.com/repos/angular/angular-cli/labels/package4:%20@angular-sdk/webpack","name":"package4: @angular-sdk/webpack","color":"e99695","default":false},{"id":372202272,"url":"https://api.github.com/repos/angular/angular-cli/labels/priority:%202%20(required)","name":"priority: 2 (required)","color":"0052cc","default":false},{"id":220593710,"url":"https://api.github.com/repos/angular/angular-cli/labels/type:%20bug","name":"type: bug","color":"EEEEEE","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-08T16:41:15Z","updated_at":"2017-05-23T11:49:37Z","closed_at":"2017-05-23T11:49:37Z","body":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\n> Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\nWindows 7\r\n\r\n### Versions.\r\n> Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\nos: win32 x64\r\n@angular/common: 2.4.5\r\n@angular/compiler: 2.4.5\r\n@angular/compiler-cli: 2.4.5\r\n@angular/core: 2.4.5\r\n@angular/forms: 2.4.5\r\n@angular/http: 2.4.5\r\n@angular/platform-browser: 2.4.5\r\n@angular/platform-browser-dynamic: 2.4.5\r\n@angular/platform-server: 2.4.5\r\n@angular/router: 3.4.5\r\n@angular/tsc-wrapped: 0.5.2\r\n@angular/upgrade: 2.4.5\r\n@angular/cli: 1.0.0-rc.1\r\n\r\n### Repro steps.\r\n> Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\n1. Quickstart app downloaded\r\n2. in main.ts bootstrapping using ngUpgrade instead of platformBrowserDynamic\r\n3. run ng build\r\n\r\n### The log given by the failure.\r\n> Normally this include a stack trace and some more information.\r\n\r\nC:\\projects\\Rounding\\Rounding.Mobile.Web\\www>ng build\r\nTried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.\r\nError: Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.\r\n    at Object.resolveEntryModuleFromMain (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@ngtools\\webpack\\src\\entry_resolver.js:118:15)\r\n    at AotPlugin._setupOptions (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@ngtools\\webpack\\src\\plugin.js:138:50)\r\n    at new AotPlugin (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@ngtools\\webpack\\src\\plugin.js:23:14)\r\n    at _createAotPlugin (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@angular\\cli\\models\\webpack-configs\\typescript.js:55:12)\r\n    at Object.exports.getNonAotConfig (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@angular\\cli\\models\\webpack-configs\\typescript.js:70:19)\r\n    at NgCliWebpackConfig.buildConfig (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@angular\\cli\\models\\webpack-config.js:27:37)\r\n    at Class.run (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@angular\\cli\\tasks\\build.js:26:92)\r\n    at Class.run (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@angular\\cli\\commands\\build.js:143:26)\r\n    at Class.<anonymous> (C:\\projects\\Rounding\\Rounding.Mobile.Web\\www\\node_modules\\@angular\\cli\\ember-cli\\lib\\models\\command.js:134:17)\r\n    at process._tickCallback (internal/process/next_tick.js:103:7)\r\n\r\n### Mention any other details that might be useful.\r\n\r\n> ---------------------------------------------------------------\r\n> Thanks! We'll be in touch soon.\r\n"}}
{"actor":{"display_login":"filipesilva"}}