-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Locally installed CLI beta.31 is not initializing the project ('ng init' failed) #4761
Comments
@Meligy Yeah i c, in my case I am initializing just fresh project having
having just single file in my project folder which is |
I'm afraid it doesn't matter. The command was broken in beta.31, and now it's removed in master. It won't be there in v1.0 final, and will not exist again until it's rewritten for v2.0. |
So i c PR #4628 that removing |
At the moment you'll have to download the CLI to another folder different from the new project folder and use it. At least until something happens with #4762 and it gets opened / superseded with something. |
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. |
As per this pull request 761e86f CLI should be able to run without global install.
There was no issues with that until beta.31
OS?
Windows 7
Versions.
My project local CLI,
npm run ng -- -v
:Repro steps.
npm init -y
package.json
by adding"ng":"ng"
in to scripts (761e86f).install @angular/cli --save
npm run ng -- init
The log given by the failure.
Expected
Mention any other details that might be useful.
Working with locally installed beta.30 and below.
p.s:
Also I tried to run
npm run ng -- update
as per this PR 2211172 but having exactly same thing happening.The text was updated successfully, but these errors were encountered: