Skip to content

Cannot Install on Node v6 #548

Closed
Closed

Description

@minhazfm

Cannot install angular-cli on newly released NodeJS v6.0.0.

  1. OS: Mac OSX El Capitan - 10.11.3
  2. Versions:
    node --version: v6.0.0
    npm --version: v3.8.6
    npm info angular-cli: v0.0.34
  3. Reproduction Steps:
npm install -g angular-cli
  1. Log:
npm ERR! Darwin 15.3.0
npm ERR! argv "/Users/developer/.nvm/versions/node/v6.0.0/bin/node" "/Users/developer/.nvm/versions/node/v6.0.0/bin/npm" "install" "-g" "angular-cli"
npm ERR! node v6.0.0
npm ERR! npm  v3.8.6

npm ERR! Invalid Version: 0.0.6pre2
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/developer/Desktop/npm-debug.log
  1. I'm aware NodeJS v6 just came out, so this is expected, but just thought I would post it here so others are aware.

Activity

  1. alexpaluzzi commented on Apr 27, 2016

    @alexpaluzzi
    Contributor

    Can you try clearing your npm cache? I was not able to reproduce on El Capitan or Windows 7/10. Both of them were able to install cleanly on Node 6.0.0 for me.

  2. minhazfm commented on Apr 28, 2016

    @minhazfm
    Author

    Hey @alexpaluzzi, thanks for the information and tip. I tried an npm cache clean, and still got the same error. I am using nvm on my Mac to switch between different Node versions if that helps in someway. The strange thing is I'm able to install the angular-cli just fine when I'm running Node v4.2.2, but v6.0.0 produces the error above. I have installed other npm packages successfully in v6.0.0, such as bower, grunt-cli and yeoman as well.

  3. jkuri commented on Apr 28, 2016

    @jkuri
    Contributor

    @minhazfm this seems like an issue with nvm and not angular-cli.

  4. minhazfm commented on Apr 29, 2016

    @minhazfm
    Author

    @jkuri Yup, looks like it was because I was running nvm v0.30.1. Once I updated to the latest nvm version (v0.31.0) it let me install the angular-cli with no issues. Thanks for the help, closing this out.

  5. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  6. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions