angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

angular-cli is not working

Open beingbing opened this issue 8 years ago • 6 comments

I'm opening this issue because:

  • [0] angular-cli is doing something I don't understand.

What's going wrong?

(after migrating into desired folder)when i ran - ng new my-app this is what i got - screenshot from 2017-12-16 13 54 07

even when i ran - ng --version i am getting the same error

supporting information:

  • npm -v prints: 5.6.0
  • node -v prints: v8.9.3
  • npm config get registry prints: https://registry.npmjs.org/
  • Windows, OS X/macOS, or Linux?: Linux
  • Network issues: none

beingbing avatar Dec 17 '17 13:12 beingbing

What does migrating into desired folder mean in your report? I cannot see this problem when running ng new myself.

filipesilva avatar Dec 21 '17 13:12 filipesilva

"migrating into desired folder" means, going inside the folder in which i want to create my angular app using angular-cli

beingbing avatar Dec 29 '17 06:12 beingbing

I think you might have a broken install maybe. I'm not sure of the exact causes for that, but I can tell you that we're declaring the right packages for Angular CLI. We reinstall it dozens of times a day.

Some of the modules needed aren't being installed but that's up to npm really. I'm sorry I can't help more.

filipesilva avatar Jan 09 '18 12:01 filipesilva

@beingbing, Why are you not just reinstall cli globally?

npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli

Yerkon avatar Jan 31 '18 15:01 Yerkon

Closing as there hasn't been any activity for a while.

filipesilva avatar Feb 14 '18 10:02 filipesilva

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.