-
Notifications
You must be signed in to change notification settings - Fork 12k
"You cannot use the new command inside an angular-cli project", when the current directory isn't an angular cli generated project #2174
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
@jgo4th - the The issue tracker is for bugs and feature requests as noted in CONTRIBUTING.md. For better support, consider creating a question on StackOverflow with all the details. |
No as in, I cannot use the command |
@jgo4th -- please use StackOverflow for support questions. |
@jgo4th your issue might be related with these two: Do you maybe have a |
I went to my home directory and in my package.json removed all references to angular-cli. I was then able to use ng new. MAC-OSX Sierra |
@filipesilva @juliemr Thanks for your answers. I didn't find package.json in my home folder, but in the parent folder. Hopefully, this would help someone else too. :) |
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? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
MacOSX Yosimite v10.10.5
Versions. Please run
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:angular-cli: 1.0.0-beta.14
node: 4.5.0
os: darwin x64
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
I try to use ng new in any directory on my machine
The log given by the failure. Normally this include a stack trace and some
more information.
"You cannot use the new command inside an angular-cli project."
Mention any other details that might be useful.
I am not inside a project created by the cli. In fact I cant use the command anywhere, in any directory.
The text was updated successfully, but these errors were encountered: