-
Notifications
You must be signed in to change notification settings - Fork 12k
Updating to 1.0.0-beta.18 issue #2808
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
Are you sure you had this working with beta 17? Sounds like your project was created using beta 10 (pre-webpack). If so, you need to upgrade using the article linked. To upgrade between recent versions you can run |
@grizzm0 yeah, it was working fine with beta 17. I was just waiting for the assets array implementation in beta 18 (you helped me in that thread as well :)) Yeah - my project started when it was pre-webpack versions. However i upgraded with each new update and was on 17 last. If i revert it back to 17 it still works - but i need the 18 I cannot run |
my workaround is changing the angular-cli version directly in package json and do |
thats what i do always :) Didn't work this time though |
Ok its working now.
Now its working as expected :) P.S: Seems to me either there was something missing in angular-cli.json file or a devDependency such as |
@hassanasad I just updgraded from beta.17 to beta.18 and I have the same issue: angular-cli: 1.0.0-beta.18 While I appreciate your work-around from above (I will try it shortly), I don't think this issue should be closed. Quite to the contrary, it should be elevated in priority for actual resolution w/o work-around. I have consistently been able to upgrade from beta.15 -> beta.16 -> beta.17. Minimal effort, never had an issue with This is the first time, I encountered a problem, so there probably should be a more 'at the root' solution w/o a need for a work-around. |
@tomwanzek I thought there was something wrong with only my install as no one seemed to be facing it. I will reopen it now - Probably someone more experienced can have a better look at this. |
Alright, so I went back over it and it worked now (roughly as previously) I will note that, I got a message that the So, not sure, why I did not get |
I had the same problem and had started with beta 15, though I was able to work around it. I believe I may have caused it by two things:
My solution was reverting Angular back to 2.0.0, and exclusively using npm per the upgrade steps. https://github.com/angular/angular-cli#updating-angular-cli |
Also having this same problem when going from beta16 to beta18. angular-cli: 1.0.0-beta.18 None of the ng commands work, so the upgrade steps can't be followed. Edit: I followed the workaround steps provided by hassanasad on 21/Oct, with the addition of running "ng init" at the end to update the project files... that worked for me, but shouldn't be necessary. |
Fixed by #2870 |
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?
MacOS Seirra
I just updated my local angular-cli version from
1.0.0-beta.17
to1.0.0-beta.18
Now its giving this error on All
ng
commands:Anyone facing similar issues?
The text was updated successfully, but these errors were encountered: