-
Notifications
You must be signed in to change notification settings - Fork 12k
ng init looks at parent folder instead of pwd #4148
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
Let me guess, it looks at the nearest folder with a |
Yeah most likely. Not what I want in my case as I'm wanting to create a standalone project in the demo folder, to test the angular lib in the parent. |
Yeah it's the package.json, it's the project 'marker'. At the moment this is "working as intended" though... In the future the init functionality is likely to be removed as a followup to #4007. |
Creating an empty package.json fixed it! |
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?
Mac OSX
Versions.
1.0.0-beta.24
ng init in an empty folder tries to overwrite files in the parent directory:
The text was updated successfully, but these errors were encountered: