-
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
In mac, ng new project-name
creates project in root directory rather in the directory I am in.
#5483
Comments
ng new project-name
creates project in root directory rather in the directory I am in.
Dupe of #1079, that should have been fixed by #4901. @aniruddhadas9 are you absolutely sure you're using a globally installed rc.2? Can you reinstall to make sure? |
@filipesilva Yes. I tried with both @angular/cli rc.1 and rc.2 and both have same result. I posted command here. |
Ok, then please check the solutions in #1079 (checking your root dir for a |
Sure, Let me check that. |
removing package.json file from the root folder worked for me. would I close this issue or there is a permanent fix coming? |
Let's keep it open. This should have been fixed but it seems the fix might not work. |
On windows, the same thing happens. |
@aniruddhadas9 are you still able to reproduce with the latest Angular CLI? |
Closing the issue due to inactivity. If the problem still exists in the latest version of the CLI, please open a new issue following the template and providing a minimal demo where we can reproduce it. Thanks! :-) |
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. |
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.0.0-rc.2
node: 6.9.1
os: darwin x64
Repro steps.
I am in /xyx/abc folder and run ng new appname, cli should create a folder named /xyz/abc/appname and put all the code in ther but it created a folder in root directory and put all code there
The log given by the failure.
It did not failed but the folder is created in different folder expected
Desired functionality.
The new project folder should created in the same folder
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: