Updating npm

Hi, I am trying to update npm in my builds. I already have npm update -g, but apparently that is not enough according to the npm documentation.

The documentation lists three plausible ways to achieve that, but as I am not 100% sure about the environment on AppVeyor and how exactly Install-Product node works, I'd like to ask here first.

Thanks.

  1. Look at that: http://www.appveyor.com/docs/lang/nodejs-iojs#locking-errors

    Installing NPM 2.0 is basically two lines:

    npm -g install npm@2
    set PATH=%APPDATA%\npm;%PATH%
    
  2. OK, thank you so much!

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac