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 • 2 comments

I'm opening this issue because:

  • [0] npm 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 te 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 16 '17 17:12 beingbing

It's loading babel for some reason, but we do not depend on Babel at all (see our dependencies here: https://unpkg.com/@angular/[email protected]/package.json

I suggest you try to remove your global installation and reinstall the CLI globally:

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

I'm going to close this issue as fixed or not caused by the CLI. We do not use babel nor core-js in the Angular CLI. If you experience the same error after the steps above, please look at your environment setup.

hansl avatar Dec 16 '17 18:12 hansl

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.