Title: Error: ngCompiler.ReflectorHost is not a constructor · Issue #3241 · angular/angular-cli · GitHub
Open Graph Title: Error: ngCompiler.ReflectorHost is not a constructor · Issue #3241 · angular/angular-cli
X Title: Error: ngCompiler.ReflectorHost is not a constructor · Issue #3241 · angular/angular-cli
Description: Please provide us with the following information: OS? Mac OSX (Sierra) Versions. ngtools/webpack - 1.1.7 Repro steps. git clone github.com/prsolucoes/angular2-starter-project cd angular2-starter-project npm install npm start The log give...
Open Graph Description: Please provide us with the following information: OS? Mac OSX (Sierra) Versions. ngtools/webpack - 1.1.7 Repro steps. git clone github.com/prsolucoes/angular2-starter-project cd angular2-starter-pr...
X Description: Please provide us with the following information: OS? Mac OSX (Sierra) Versions. ngtools/webpack - 1.1.7 Repro steps. git clone github.com/prsolucoes/angular2-starter-project cd angular2-starter-pr...
Opengraph URL: https://github.com/angular/angular-cli/issues/3241
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error: ngCompiler.ReflectorHost is not a constructor","articleBody":"\u003e Please provide us with the following information:\r\n\u003e ---------------------------------------------------------------\r\n\r\n### OS?\r\n\u003e Mac OSX (Sierra)\r\n\r\n\r\n### Versions.\r\n\u003e ngtools/webpack - 1.1.7\r\n\r\n### Repro steps.\r\n\u003e git clone github.com/prsolucoes/angular2-starter-project\r\n\u003e cd angular2-starter-project\r\n\u003e npm install\r\n\u003e npm start\r\n\r\n\r\n### The log given by the failure.\r\n\r\n```\r\npaulo@MacBook-Pro-de-Paulo:~/Developer/workspaces/node/angular2-starter-project (master) $ npm start\r\n\r\n\u003e angular2-starter-project@1.0.0 start /Users/paulo/Developer/workspaces/node/angular2-starter-project\r\n\u003e npm run ngc \u0026\u0026 concurrently -r \"webpack-dev-server --config webpack.config.js\" \"node ./bin/ngc-watch.js\"\r\n\r\n\r\n\u003e angular2-starter-project@1.0.0 ngc /Users/paulo/Developer/workspaces/node/angular2-starter-project\r\n\u003e ngc -p ./tsconfig.json\r\n\r\n/Users/paulo/Developer/workspaces/node/angular2-starter-project/node_modules/@ngtools/webpack/src/plugin.js:127\r\n this._reflectorHost = new ngCompiler.ReflectorHost(this._program, this._compilerHost, this._angularCompilerOptions);\r\n ^\r\n\r\nTypeError: ngCompiler.ReflectorHost is not a constructor\r\n at AotPlugin._setupOptions (/Users/paulo/Developer/workspaces/node/angular2-starter-project/node_modules/@ngtools/webpack/src/plugin.js:127:31)\r\n at new AotPlugin (/Users/paulo/Developer/workspaces/node/angular2-starter-project/node_modules/@ngtools/webpack/src/plugin.js:35:14)\r\n at Object.\u003canonymous\u003e (/Users/paulo/Developer/workspaces/node/angular2-starter-project/webpack/plugins.js:12:2)\r\n at Module._compile (module.js:556:32)\r\n at Object.Module._extensions..js (module.js:565:10)\r\n at Module.load (module.js:473:32)\r\n at tryModuleLoad (module.js:432:12)\r\n at Function.Module._load (module.js:424:3)\r\n at Module.require (module.js:483:17)\r\n at require (internal/module.js:20:19)\r\n at Object.\u003canonymous\u003e (/Users/paulo/Developer/workspaces/node/angular2-starter-project/webpack.config.js:15:11)\r\n at Module._compile (module.js:556:32)\r\n at Object.Module._extensions..js (module.js:565:10)\r\n at Module.load (module.js:473:32)\r\n at tryModuleLoad (module.js:432:12)\r\n at Function.Module._load (module.js:424:3)\r\n```\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\r\n\u003e My repository with the current problem:\r\n\u003e https://github.com/prsolucoes/angular2-starter-project\r\n\r\nMy plugin initialization:\r\n\r\n```\r\nlet ngtools = require('@ngtools/webpack');\r\nmodule.exports = [\r\n\tnew ngtools.AotPlugin({\r\n\t\ttsConfigPath: './tsconfig.json',\r\n\t\tbaseDir: path.join(process.cwd(), 'src'),\r\n\t\tentryModule: path.join(process.cwd(), 'src', 'app', 'modules', 'app.module') + '#AppModule'\r\n\t}),\r\n....\r\n\r\n```\r\n","author":{"url":"https://github.com/paulocoutinhox","@type":"Person","name":"paulocoutinhox"},"datePublished":"2016-11-22T23:30:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":47},"url":"https://github.com/3241/angular-cli/issues/3241"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b161d7a5-a184-22da-704a-b30f1f023d0e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD7E:1A3344:9E52D1:DB7D43:69773AAD |
| html-safe-nonce | 1ccc4cff53c5cad6a52edfe047b0abd932ae12eb9e8da3d7a87cd9f6401af55c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDdFOjFBMzM0NDo5RTUyRDE6REI3RDQzOjY5NzczQUFEIiwidmlzaXRvcl9pZCI6IjgyMDQzMjY1NDU4MjkzNDU5NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c0301db9b35683c267c163dcae4fcd2232b5a3a2bd6c7432525dba1f47dadd18 |
| hovercard-subject-tag | issue:191153457 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad53825fcd0c793fe488c6bbc77c95a0661e3998ceadf6548131e4d0712f5786/angular/angular-cli/issues/3241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad53825fcd0c793fe488c6bbc77c95a0661e3998ceadf6548131e4d0712f5786/angular/angular-cli/issues/3241 |
| og:image:alt | Please provide us with the following information: OS? Mac OSX (Sierra) Versions. ngtools/webpack - 1.1.7 Repro steps. git clone github.com/prsolucoes/angular2-starter-project cd angular2-starter-pr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | paulocoutinhox |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width