-
Notifications
You must be signed in to change notification settings - Fork 12k
Angular CLI App doesn't run after CLI update. #4679
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
i also face this issue try to install npm i --save @angular/compiler-cli and it works for me |
@rajinder-yadav If I understand correctly your app was created with a previous version of angular-cli, and now you've updated the global angular-cli version. This issue happened to me, I fixed it by updating my local version of the cli:
Good luck. |
I have also problems on app build with previous version !
I am using Windows 10 (32bits)
when i type ng serve : ng update : |
@bvaissade make sure you dont have
|
OK I did the steps today on two older cli projects and things are working fine. My initial issue has been resolved, I may have pooched something along the way last night! To update CLI as well as update to Angular to 2.4.7 I did rm -rf node_modules dist # use rmdir on Windows
npm install --save-dev @angular/cli@latest
npm update --save
npm update --save-dev
npm install |
Closing as resolved. |
…ent (Dublin, Ireland). Since then, Angular CLI was updated (Don't quite remember why; maybe for an Angular class), hence invalidating the wts-ui project. The changes in this check-in reflect the instructions in angular/angular-cli#4679.
thanks @mikeeus you saved me |
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?
linux 4.4.0-62-generic
Versions.
Repro steps.
Old app created using CLI doesn't start after CLI update and Angular update to v2.4.7
npm update --save
You can clone this sample-repo and update the app under folder
input-output
.I've followed the steps on upgrading from the CLI site.
The log given by the failure.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: