Provide a way to generate a new project in an existing directory
The current implementation of ng new does not allow creating a new project in an existing directory.
It would be interesting to have an option to generate the project in the current directory without removing everything.
ng new app_name --directory=./ works for me with below configuration.
Angular CLI: 7.3.4
Node: 10.15.0
OS: darwin x64
Angular: 7.2.7
Did not work for me until I updated Node after seeing the version posted by @Napster2210. --directory . works after node --version reports v11.11.0.
cli 7.3.3 you can use ng new --directory . for create in current directory
ng new --directory . works with the configuration below:
Angular CLI: 8.1.3
Node: 10.15.3
OS: darwin x64
Angular: 8.1.3
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.