angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ngCompiler.ReflectorHost is not a constructor

Open ritox842 opened this issue 9 years ago • 3 comments

Please provide us with the following information:

OS?

Windows 10

Versions.

angular-cli: 1.0.0-beta.22-1

The log given by the failure.

ngCompiler.ReflectorHost is not a constructor TypeError: ngCompiler.ReflectorHost is not a constructor

Mention any other details that might be useful.

Its a fresh project , Only created the project and update all npm packages to the latest. When i ng-serve I get the ngCompiler.ReflectorHost error

  • [ ] ---------------------------------------------------------------

Thanks! We'll be in touch soon.

ritox842 avatar Dec 09 '16 19:12 ritox842

Angular 2.3.0 is not supported. Revert back to 2.2.4 or earlier.

hansl avatar Dec 09 '16 19:12 hansl

Hey. When I downgrade to 2.2.4 I dont get the ngCompiler.ReflectorHost error, but still the project don't run... It stack on 20%. I dont know if it relevent but I get this error just before the 20%:

10% building modules 2/2 modules 0 active(node:4308) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: AppModule is not an NgModule (node:4308) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

ritox842 avatar Dec 10 '16 20:12 ritox842

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.