Giter Club home page Giter Club logo

Comments (12)

devsong avatar devsong commented on August 30, 2024 4

In china,modify the nvmw.bat, find this text

if %ARCH% == x32 ( set NODE_EXE_URL=%NVMW_NODEJS_ORG_MIRROR%/%NODE_VERSION%/node.exe ) else ( set NODE_EXE_URL=%NVMW_NODEJS_ORG_MIRROR%/%NODE_VERSION%/x64/node.exe ) )

and modify
set NODE_EXE_URL=%NVMW_NODEJS_ORG_MIRROR%/%NODE_VERSION%/x64/node.exe
to
set NODE_EXE_URL=%NVMW_NODEJS_ORG_MIRROR%/%NODE_VERSION%/win-x64/node.exe

works for me

from nvmw.

CalvinDale avatar CalvinDale commented on August 30, 2024 3

When I attempt to install this version of node, I get a 404:

D:\VS> nvmw install v5.1.1
Start installing node/v5.1.1 (x64) to C:\Users\ccraig\.nvmw\v5.1.1
Download from https://nodejs.org/dist/v5.1.1/x64/node.exe, and save it as C:\Users\ccraig\.nvmw\v5.1.1\node.exe
404 Not Found
Download C:\Users\ccraig\.nvmw\v5.1.1\node.exe from https://nodejs.org/dist/v5.1.1/x64/node.exe failed

This version exists at
https://nodejs.org/dist/v5.1.1/win-x64/node.exe

rather than at
https://nodejs.org/dist/v5.1.1/x64/node.exe

from nvmw.

Jaykin avatar Jaykin commented on August 30, 2024 3

For that matter, I have modified the some source code, nvmw can work normally. The following is the place where I modified.
1、nvmw.bat:The line 137 win-x64 instead of x64
2、fget.js:The line 48 ServerXMLHTTP instead of XMLHTTP
3、get_npm.js:in line 6 var NPM_PKG_JSON_URL = 'http://npm.taobao.org/mirrors/node/index.json';
in line 44 var pkgUri = NPM_PKG_JSON_URL;
in line 51 var _pkg = JSON.parse(pkg); for(var i = 0,n=_pkg.length;i<n;i++){ var obj = _pkg[i]; if(obj.version == binVersion){ downloadNpmZip(obj.npm); } }

from nvmw.

asgerhallas avatar asgerhallas commented on August 30, 2024

Same here :)

from nvmw.

uolcano avatar uolcano commented on August 30, 2024

same problem with v4.4.2 x64

from nvmw.

juzhishang avatar juzhishang commented on August 30, 2024

+1

from nvmw.

ronycohen avatar ronycohen commented on August 30, 2024

+1

from nvmw.

wthinkit avatar wthinkit commented on August 30, 2024

+1

from nvmw.

uwang avatar uwang commented on August 30, 2024

+1

from nvmw.

7demo avatar 7demo commented on August 30, 2024

+1

from nvmw.

cisen avatar cisen commented on August 30, 2024

+1

from nvmw.

chenjigeng avatar chenjigeng commented on August 30, 2024

+1

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.