Giter Club home page Giter Club logo

Comments (4)

djsylvester avatar djsylvester commented on August 30, 2024 1

I used the bat file from the above reference (#59) and found there is one additional install issue.

Start install npm
Download file from...
node v4.0.0 does not include npm

I identified the version of npm required for node v4 from the changelog:
https://github.com/nodejs/node/blob/v4.0.0/CHANGELOG.md

My temporary fix is:

  1. Backup .nvmw/nvmw.bat
  2. Create a new nvmw.bat file from:
    https://github.com/TimothyGu/nvmw/blob/f652299d30e5f4583d6b68d6024da423fd1005d5/nvmw.bat
  3. Create .nvmw/v4.0.0 directory
  4. Grab the npm source zip of the latest stable release from https://github.com/npm/npm
  5. Rename the zip to npm.zip and place in the v.4.0.0 directory.
  6. Run nvmw install 4.0.0 x64 if you're using 64bit, else don't use the architecture option.

Node v4 will install and you'll still see the error about npm not included as above, immediately followed by:
Start unzip "C:\Users\[uname]\.nvmw\v4.0.0\npm.zip" to "C:\Users\[uname]\.nvmw\v4.0.0"

Done.

Note: This was written for 4.0.0 but is working for 4.1.0 as well so adjust accordingly as versions change.

from nvmw.

iZhen avatar iZhen commented on August 30, 2024

+1

from nvmw.

mikeallisonJS avatar mikeallisonJS commented on August 30, 2024

FYI, i had to put the npm.zip in the v4.0.0 directory. not the .nvmw directory. Thanks!

from nvmw.

djsylvester avatar djsylvester commented on August 30, 2024

Thanks @Simplecoin I didn't catch the error. Corrected the post.

from nvmw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.