Closed
Description
Please provide us with the following information:
OS?
Windows 10
Node 6.9.1
NPM 3.10.8
Versions.
1.0.0-beta.23
Repro steps.
ng new whatever
ng serve
The log given by the failure.
ngCompiler.ReflectorHost is not a constructor
TypeError: ngCompiler.ReflectorHost is not a constructor
at AotPlugin._setupOptions (C:\Users\moore\code\delme\node_modules\@ngtools\webpack\src\plugin.js:136:31)
at new AotPlugin (C:\Users\moore\code\delme\node_modules\@ngtools\webpack\src\plugin.js:37:14)
at Object.exports.getWebpackNonAotConfigPartial (C:\Users\moore\code\delme\node_modules\angular-cli\models\webpack-build-typescript.js:20:13)
at new NgCliWebpackConfig (C:\Users\moore\code\delme\node_modules\angular-cli\models\webpack-config.js:26:42)
at Class.run (C:\Users\moore\code\delme\node_modules\angular-cli\tasks\serve-webpack.js:20:22)
at C:\Users\moore\code\delme\node_modules\angular-cli\commands\serve.js:108:26
at process._tickCallback (internal/process/next_tick.js:103:7)`
Mention any other details that might be useful.
according to #3501, #3367, et. al. this is an angular 2.3.x incompatibility. #3569 made me assume this was resolved (2.3.1 was installed after re-running ng init
), but apparently it hasn't. Downgrading angular to 2.2.x without downgrading cli results in: (also per #3569)
This version of CLI is only compatible with angular version 2.3.1 or better. Please upgrade your angular version, e.g. by running:
As such, my project cannot run with beta-23 at all and I'm having to downgrade.
Metadata
Metadata
Assignees
Labels
No labels