{"action":"opened","issue":{"url":"https://api.github.com/repos/apollostack/angular2-apollo/issues/167","repository_url":"https://api.github.com/repos/apollostack/angular2-apollo","labels_url":"https://api.github.com/repos/apollostack/angular2-apollo/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/angular2-apollo/issues/167/comments","events_url":"https://api.github.com/repos/apollostack/angular2-apollo/issues/167/events","html_url":"https://github.com/apollostack/angular2-apollo/issues/167","id":190913270,"number":167,"title":"Can't serve app built by angular-cli using command `ng serve --aot`","user":{"login":"emolr","id":2789549,"avatar_url":"https://avatars.githubusercontent.com/u/2789549?v=3","gravatar_id":"","url":"https://api.github.com/users/emolr","html_url":"https://github.com/emolr","followers_url":"https://api.github.com/users/emolr/followers","following_url":"https://api.github.com/users/emolr/following{/other_user}","gists_url":"https://api.github.com/users/emolr/gists{/gist_id}","starred_url":"https://api.github.com/users/emolr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emolr/subscriptions","organizations_url":"https://api.github.com/users/emolr/orgs","repos_url":"https://api.github.com/users/emolr/repos","events_url":"https://api.github.com/users/emolr/events{/privacy}","received_events_url":"https://api.github.com/users/emolr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-22T05:49:46Z","updated_at":"2016-11-22T05:49:46Z","closed_at":null,"body":"Running `ng serve --aot` fails to run.\r\n\r\nThis is the console error:\r\n```\r\n* NG Live Development Server is running on http://localhost:4200. **\r\n  0% compilingcan't resolve module apollo-client from /Users/Emil/Documents/Github/collab/collab/src/app/client.ts\r\ncan't find symbol undefined exported from module /Users/Emil/Documents/Github/collab/collab/node_modules/apollo-client/index.d.ts, resolving symbol AppModule in /Users/Emil/Documents/Github/collab/collab/src/app/app.module.ts, resolving symbol AppModule in /Users/Emil/Documents/Github/collab/collab/src/app/app.module.ts\r\nError: can't find symbol undefined exported from module /Users/Emil/Documents/Github/collab/collab/node_modules/apollo-client/index.d.ts, resolving symbol AppModule in /Users/Emil/Documents/Github/collab/collab/src/app/app.module.ts, resolving symbol AppModule in /Users/Emil/Documents/Github/collab/collab/src/app/app.module.ts\r\n    at simplifyInContext (/Users/iminar/Dev/angular/modules/@angular/compiler-cli/src/static_reflector.ts:532:15)\r\n    at StaticReflector.simplify (/Users/iminar/Dev/angular/modules/@angular/compiler-cli/src/static_reflector.ts:536:20)\r\n    at StaticReflector.annotations (/Users/iminar/Dev/angular/modules/@angular/compiler-cli/src/static_reflector.ts:93:28)\r\n    at NgModuleResolver.resolve (/Users/Emil/Documents/Github/collab/collab/node_modules/@angular/compiler/bundles/compiler.umd.js:14050:46)\r\n    at CompileMetadataResolver.getNgModuleMetadata (/Users/Emil/Documents/Github/collab/collab/node_modules/@angular/compiler/bundles/compiler.umd.js:14296:49)\r\n    at /Users/Emil/Documents/Github/collab/collab/node_modules/@angular/compiler/bundles/compiler.umd.js:13284:43\r\n    at Array.forEach (native)\r\n    at _extractModulesAndPipesOrDirectives (/Users/Emil/Documents/Github/collab/collab/node_modules/@angular/compiler/bundles/compiler.umd.js:13283:28)\r\n    at analyzeNgModules (/Users/Emil/Documents/Github/collab/collab/node_modules/@angular/compiler/bundles/compiler.umd.js:13039:16)\r\n    at OfflineCompiler.compileModules (/Users/Emil/Documents/Github/collab/collab/node_modules/@angular/compiler/bundles/compiler.umd.js:13115:20)\r\n    at CodeGenerator.codegen (/Users/iminar/Dev/angular/modules/@angular/compiler-cli/src/codegen.ts:71:26)\r\n    at AotPlugin._make (/Users/Emil/Documents/Github/collab/collab/node_modules/@ngtools/webpack/src/plugin.js:186:43)\r\n    at Compiler.<anonymous> (/Users/Emil/Documents/Github/collab/collab/node_modules/@ngtools/webpack/src/plugin.js:151:75)\r\n    at Compiler.applyPluginsParallel (/Users/Emil/Documents/Github/collab/collab/node_modules/tapable/lib/Tapable.js:156:14)\r\n    at Compiler.<anonymous> (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/Compiler.js:463:8)\r\n    at Compiler.applyPluginsAsync (/Users/Emil/Documents/Github/collab/collab/node_modules/tapable/lib/Tapable.js:73:70)\r\n    at Compiler.compile (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/Compiler.js:456:7)\r\n    at Watching.<anonymous> (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/Compiler.js:46:17)\r\n    at next (/Users/Emil/Documents/Github/collab/collab/node_modules/tapable/lib/Tapable.js:81:11)\r\n    at Compiler.invalidAsyncPlugin (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack-dev-middleware/middleware.js:119:3)\r\n    at next (/Users/Emil/Documents/Github/collab/collab/node_modules/tapable/lib/Tapable.js:83:14)\r\n    at Compiler.<anonymous> (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/CachePlugin.js:31:4)\r\n    at Compiler.applyPluginsAsync (/Users/Emil/Documents/Github/collab/collab/node_modules/tapable/lib/Tapable.js:85:13)\r\n    at Watching._go (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/Compiler.js:44:16)\r\n    at Watching.<anonymous> (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/Compiler.js:36:8)\r\n    at Compiler.readRecords (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/Compiler.js:367:10)\r\n    at new Watching (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/Compiler.js:33:16)\r\n    at Compiler.watch (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack/lib/Compiler.js:204:17)\r\n    at module.exports (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack-dev-middleware/middleware.js:146:27)\r\n    at new Server (/Users/Emil/Documents/Github/collab/collab/node_modules/webpack-dev-server/lib/Server.js:43:20)\r\n    at Class.run (/Users/Emil/Documents/Github/collab/collab/node_modules/angular-cli/tasks/serve-webpack.js:72:22)\r\n    at /Users/Emil/Documents/Github/collab/collab/node_modules/angular-cli/commands/serve.js:92:26\r\n    at process._tickCallback (internal/process/next_tick.js:103:7)\r\n```\r\n\r\nI'm not sure, but it might be related to https://github.com/angular/angular/issues/11402"}}
{"actor":{"display_login":"emolr"}}