Reputation: 478
Whenever I run ng new appName
the app is created in /User/name
, which is my home directory. Any idea why this is happening?
My ~/.angular-cli.json
only has packageManager: 'yarn'
Upvotes: 0
Views: 167
Reputation: 64893
You likely have a package.json file there and that effects the logic of determining if you're within an existing CLI project. Locate that file and remove it.
Upvotes: 1