Title: ngCompiler.ReflectorHost is not a constructor · Issue #3668 · angular/angular-cli · GitHub
Open Graph Title: ngCompiler.ReflectorHost is not a constructor · Issue #3668 · angular/angular-cli
X Title: ngCompiler.ReflectorHost is not a constructor · Issue #3668 · angular/angular-cli
Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 16.10 Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal:...
Open Graph Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 16.10 Versions. Please run ng --version. If there's noth...
X Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 16.10 Versions. Please run ng --version. If there's ...
Opengraph URL: https://github.com/angular/angular-cli/issues/3668
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"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 Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\n\r\nUbuntu 16.10\r\n\r\n### Versions.\r\n\u003e Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\n\r\n```\r\n$ ng -v\r\nangular-cli: 1.0.0-beta.24\r\nnode: 6.8.0\r\nos: linux x64\r\n@angular/common: 2.3.1\r\n@angular/compiler: 2.3.1\r\n@angular/core: 2.3.1\r\n@angular/forms: 2.3.1\r\n@angular/http: 2.3.1\r\n@angular/material: 2.0.0-alpha.11-3\r\n@angular/platform-browser: 2.3.1\r\n@angular/platform-browser-dynamic: 2.3.1\r\n@angular/router: 3.3.1\r\n@angular/compiler-cli: 2.3.1\r\n```\r\n\r\n(I did also try with 2.2.4 but I get `This version of CLI is only compatible with angular version 2.3.1 or better` and with 2.4.0 but it's not working either).\r\n\r\n### Repro steps.\r\n\u003e Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\n\r\nUpgrade an app to beta-24\r\n`ng serve`\r\n\r\n### The log given by the failure.\r\n\u003e Normally this include a stack trace and some more information.\r\n\r\n```\r\nngCompiler.ReflectorHost is not a constructor\r\nTypeError: ngCompiler.ReflectorHost is not a constructor\r\n at AotPlugin._setupOptions (/home/maxime/Documents/petals-cockpit/frontend/node_modules/@ngtools/webpack/src/plugin.js:127:31)\r\n at new AotPlugin (/home/maxime/Documents/petals-cockpit/frontend/node_modules/@ngtools/webpack/src/plugin.js:35:14)\r\n at Object.exports.getWebpackNonAotConfigPartial (/home/maxime/Documents/petals-cockpit/frontend/node_modules/angular-cli/models/webpack-build-typescript.js:20:13)\r\n at new NgCliWebpackConfig (/home/maxime/Documents/petals-cockpit/frontend/node_modules/angular-cli/models/webpack-config.js:26:42)\r\n at Class.run (/home/maxime/Documents/petals-cockpit/frontend/node_modules/angular-cli/tasks/serve-webpack.js:20:22)\r\n at /home/maxime/Documents/petals-cockpit/frontend/node_modules/angular-cli/commands/serve.js:108:26\r\n at process._tickCallback (internal/process/next_tick.js:103:7)\r\n```\r\n\r\n### Mention any other details that might be useful.\r\n\r\nAs https://github.com/angular/angular-cli/issues/3607, https://github.com/angular/angular-cli/issues/3587 are now closed, I decided to open a new issue because it was supposed to be fixed in beta-24.\r\n\r\n(at least, I presume you were talking about beta-24 @hansl)\r\n\r\n\r\n ","author":{"url":"https://github.com/maxime1992","@type":"Person","name":"maxime1992"},"datePublished":"2016-12-21T08:51:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/3668/angular-cli/issues/3668"}
| 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:54c7d9c0-d6cf-9fb4-d23b-8f76178770a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C1A:10F66D:D58F83:114D4F0:6976A0DC |
| html-safe-nonce | e65569c236404690bff3ef4c66a9609598e202a9df4cec8438e0df5579398561 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzFBOjEwRjY2RDpENThGODM6MTE0RDRGMDo2OTc2QTBEQyIsInZpc2l0b3JfaWQiOiI0NDgwMTU1MzE4MjI2NDI4MTI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cb5fc0605b1d8a4c66e3610660d8af0a504f6b99e70af05b4832dc36b842445e |
| hovercard-subject-tag | issue:196877301 |
| 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/3668/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bba31dc59320d599db4e67f29767362d9393c7504696c09ef96f865e60ffafd7/angular/angular-cli/issues/3668 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bba31dc59320d599db4e67f29767362d9393c7504696c09ef96f865e60ffafd7/angular/angular-cli/issues/3668 |
| og:image:alt | Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 16.10 Versions. Please run ng --version. If there's noth... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxime1992 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| 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 | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width