Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngCompiler.ReflectorHost is not a constructor #3501

Closed
1 task
ritox842 opened this issue Dec 9, 2016 · 3 comments
Closed
1 task

ngCompiler.ReflectorHost is not a constructor #3501

ritox842 opened this issue Dec 9, 2016 · 3 comments

Comments

@ritox842
Copy link

ritox842 commented Dec 9, 2016

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.

@hansl
Copy link
Contributor

hansl commented Dec 9, 2016

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

@hansl hansl closed this as completed Dec 9, 2016
@ritox842
Copy link
Author

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.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants