-
Notifications
You must be signed in to change notification settings - Fork 12k
Cannot find module '@angular/core' after new update #2823
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
Comments
Just encountered this issue as well. |
@shicechi Thanks for the reply. I just did that after deleting the node_modules. It does work now but I never ran the ng init command. Did you do that, hopefully it doesn't cause future problems? |
@keithmichelson I did run the |
@shicechi Thanks, I just went through and did the same just to make sure, luckily that command worked after the npm install. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Mac OSX El Capitan
Versions.
Can't run any ng commands all same error
Repro steps.
Updated the cli from beta 14 to beta 18 using all 6 steps.
ng init and all other ng commands give me "Cannot find module '@angular/core'"
The log given by the failure.
Error: Cannot find module '@angular/core'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.
....
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: