Giter Club home page Giter Club logo

nvmw's Introduction

SORRY, nvmw is no longer maintained. If someone wants to keep maintained, contact me by email or twitter.

Node Version Manager for Windows

nvmw is a simple Node Version Manager for Windows.

Prerequisites

You'll need to install the following software before installing nvmw:

Installation

Clone this repository:

git clone git://github.com/hakobera/nvmw.git "%HOMEDRIVE%%HOMEPATH%\.nvmw"

To activate nvmw, add nvmw directory to your PATH environment variable

set "PATH=%HOMEDRIVE%%HOMEPATH%\.nvmw;%PATH%"

Usage

Usage:
  nvmw help                    Show this message
  nvmw install [version]       Download and install a [version]
  nvmw uninstall [version]     Uninstall a [version]
  nvmw use [version]           Modify PATH to use [version]
  nvmw ls                      List installed versions

Example:
  nvmw install v0.6.0          Install a specific version number
  nvmw use v0.6.0              Use the specific version
  nvmw install iojs            Install the latest version of io.js
  nvmw install iojs-v1.0.2     Install a specific version number of io.js
  nvmw use iojs-v1.0.2         Use the specific version of io.js

Support install with arch

arch support values: x86, x64

Usage:
  nvmw install [version] [arch]    Download and install a [version] on the [arch]
  nvmw uninstall [version] [arch]  Uninstall a [version] on the [arch]
  nvmw use [version] [arch]        Modify PATH to use [version] on the [arch]

Example:
  nvmw install v0.12.0 x86         Install a specific 32-bit version
  nvmw use v0.12.0 x86             Use the specific 32-bit version

Mirror node.js/io.js/npm dist

To use a mirror of the node binaries, set $NVMW_NODEJS_ORG_MIRROR.

e.g.: In China, you can use these mirrors:

set "NVMW_NODEJS_ORG_MIRROR=http://npm.taobao.org/mirrors/node"
set "NVMW_IOJS_ORG_MIRROR=http://npm.taobao.org/mirrors/iojs"
set "NVMW_NPM_MIRROR=http://npm.taobao.org/mirrors/npm"

nvmw install 0.11.14
nvmw install node-v0.11.15
nvmw install iojs
nvmw install iojs-v1.0.2

FAQ

Q. Node.exe download faild caused 'Input Error: There is no script engine for file extension ".js"'

Maybe you associated ".js" file to another app, not JScript engine. To fix, see here

LICENSE

(The MIT License)

Copyright (c) 2011 Kazuyuki Honda [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

nvmw's People

Contributors

amullins83 avatar anseki avatar bobchin avatar coreybutler avatar fengmk2 avatar hakobera avatar iandotkelly avatar kingbin avatar koichik avatar pmanijak avatar sassy avatar shootaroo avatar yaniswang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nvmw's Issues

Node vlatest downloaded failed

Hello,

I run the command : nvmw install latest

C:\Projects\loyalty>"C:\Program Files\nodejs\node_modules\nvmw\bin\nvmw.bat" install latest
Downloading Node vlatest...
Node vlatest downloaded failed


I get the same error when i am giving the specific version : nvmw install v.4.1.1

I tried to install earlier versions...works fine.

Thank you.

ls-remote support?

Any plans to add support for a command like the ls-remote of the original nvm?

Support for x64 install?

Is there a way to choose between x86 or x64 installation of Node?
Right now, the x86 version is installed.

change to older version of node

i've installed the latest node version, i'm using nvmw install 8.10.0 to change the version, but i get the following error : Downloading Node v8.10.0 failed

The installation command doesn’t work as intended

I’ve copy-pasted the command from your README, and executed it in PowerShell (while in C: directory):

git clone git://github.com/hakobera/nvmw.git "%HOMEDRIVE%%HOMEPATH%\.nvmw"

As a result, this directory was created:

C:\%HOMEDRIVE%%HOMEPATH%\.nvmw

Notice how the string was interpreted literally, instead of transforming the %HOMEDRIVE%%HOMEPATH% part into C:\Users\simev (in my case).

Is this a new issue on Windows 10?

silent install

Is there a way to execute install silently to be called from a build script?

Can't install node v0.11.16

I am not sure if I'm doing something wrong, and please correct me if I am. I have node v0.12 installed and I have recently installed nvmw to try to run koajs on my work machine. When I tried nvmw install v0.11.16 I get the following:

nvmw

What could be happening here? Did I miss any step?

`nvmw install` fails on first attempt with "Can't get npm" error.

When I run nvmw install, it fails the first time with a "Can't get npm" error. If I run the command again, it works. Windows 7 SP1.

Example 1:

c:\projects\weewikipaint>nvmw install 0.8.10
Start installing node/v0.8.10 (x32) to C:\Users\Jim\.nvmw\v0.8.10
Download from https://nodejs.org/dist/v0.8.10/node.exe, and save it as C:\Users\
Jim\.nvmw\v0.8.10\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.8.10/deps/np
m/package.json
package.json
Content length is 2.66kb
Download 100%, 2.66kb / 2.66kb, 177.08kb/s ...
Donwload done
Download file from https://github.com/npm/npm/archive/v1.1.62.zip
v1.1.62.zip
Redirect: https://codeload.github.com/npm/npm/zip/v1.1.62
Download file from https://codeload.github.com/npm/npm/zip/v1.1.62
v1.1.62
Can't get 'content-length'
Can't get npm: https://github.com/npm/npm/archive/v1.1.62.zip

c:\projects\weewikipaint>nvmw install 0.8.10
Start installing node/v0.8.10 (x32) to C:\Users\Jim\.nvmw\v0.8.10
Download from https://nodejs.org/dist/v0.8.10/node.exe, and save it as C:\Users\
Jim\.nvmw\v0.8.10\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.8.10/deps/np
m/package.json
package.json
Content length is 2.66kb
Download 100%, 2.66kb / 2.66kb, 2.59mb/s ...
Donwload done
Download file from https://github.com/npm/npm/archive/v1.1.62.zip
v1.1.62.zip
Redirect: https://codeload.github.com/npm/npm/zip/v1.1.62
Download file from https://codeload.github.com/npm/npm/zip/v1.1.62
v1.1.62
Content length is 1.75mb
Download 100%, 1.75mb / 1.75mb, 1.63mb/s ...
Donwload done
Download npm 1.1.62 is done
Start unzip "C:\Users\Jim\.nvmw\v0.8.10\npm.zip" to "C:\Users\Jim\.nvmw\v0.8.10"

The system cannot find the file specified.
C:\Users\Jim\.nvmw\v0.8.10\npm-1.1.62
        1 dir(s) moved.
        1 file(s) copied.
C:\Users\Jim\.nvmw\v0.8.10
npm install ok
Finished
Now using node v0.8.10 x32

c:\projects\weewikipaint>node --version
v0.8.10

Example 2:

c:\projects\weewikipaint>nvmw install 0.12.0
Start installing node/v0.12.0 (x32) to C:\Users\Jim\.nvmw\v0.12.0
Download from https://nodejs.org/dist/v0.12.0/node.exe, and save it as C:\Users\
Jim\.nvmw\v0.12.0\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.12.0/deps/np
m/package.json
package.json
Content length is 4.32kb
Download 100%, 4.32kb / 4.32kb, 4.22mb/s ...
Donwload done
Download file from https://github.com/npm/npm/archive/v2.5.1.zip
v2.5.1.zip
Redirect: https://codeload.github.com/npm/npm/zip/v2.5.1
Download file from https://codeload.github.com/npm/npm/zip/v2.5.1
v2.5.1
Can't get 'content-length'
Can't get npm: https://github.com/npm/npm/archive/v2.5.1.zip

c:\projects\weewikipaint>node --version
v0.8.10

c:\projects\weewikipaint>nvmw install 0.12.0
Start installing node/v0.12.0 (x32) to C:\Users\Jim\.nvmw\v0.12.0
Download from https://nodejs.org/dist/v0.12.0/node.exe, and save it as C:\Users\
Jim\.nvmw\v0.12.0\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.12.0/deps/np
m/package.json
package.json
Content length is 4.32kb
Download 100%, 4.32kb / 4.32kb, 287.83kb/s ...
Donwload done
Download file from https://github.com/npm/npm/archive/v2.5.1.zip
v2.5.1.zip
Redirect: https://codeload.github.com/npm/npm/zip/v2.5.1
Download file from https://codeload.github.com/npm/npm/zip/v2.5.1
v2.5.1
Content length is 3.12mb
Download 100%, 3.12mb / 3.12mb, 1.01mb/s ...
Donwload done
Download npm 2.5.1 is done
Start unzip "C:\Users\Jim\.nvmw\v0.12.0\npm.zip" to "C:\Users\Jim\.nvmw\v0.12.0"

The system cannot find the file specified.
C:\Users\Jim\.nvmw\v0.12.0\npm-2.5.1
        1 dir(s) moved.
        1 file(s) copied.
C:\Users\Jim\.nvmw\v0.12.0
npm install ok
Finished
Now using node v0.12.0 x32

c:\projects\weewikipaint>node --version
v0.12.0

npm-1.4.23.zip handle is held, blocks unzipping operation

When I use the current version and try to run

nvmw install 0.10.31

It seems to download the npm.zip file correctly to the v0.10.31 file, however, when it attempts to run the unzip process on it:

cscript "%NVMW_HOME%\unzip.js" "%NPM_ZIP_FILE%" "%NODE_HOME%"

The process cannot access the file because it is being used by another process. At least that's what I'm guessing from a cursory reading. Here is the full output that's failing:

c:\Users\TOgin\.nvmw>nvmw install 0.10.31
Start installing Node v0.10.31 (x64)
Start installing Node v0.10.31 (x64)
A subdirectory or file C:\Users\TOgin\.nvmw\v0.10.31 already exists.
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Download from http://nodejs.org/dist/v0.10.31/x64/node.exe, and save it as C:\U
ers\TOgin\.nvmw\v0.10.31\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.10.31/deps/
pm/package.json
package.json
Content length is 3.62kb
Download 100%, 3.62kb / 3.62kb, 3.54mb/s ...
Donwload done
Download file from http://nodejs.org/dist/npm/npm-1.4.23.zip
npm-1.4.23.zip
Download npm 1.4.23 is done
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\TOgin\.nvmw\v0.10.31
The process cannot access the file because it is being used by another process.

Download uri's are inncorrect, 404 error

It is trying to download node using https://nodejs.org/dist/v7.9.0/x64/node.exe whereas the correct uri should be https://nodejs.org/dist/v6.10.3/win-x64/node.exe

nvmw install node error: 另一个程序正在使用此文件,进程无法访问。

D:\Users\gongyuqi>nvmw install v0.10.29
Start installing Node v0.10.29 (x64)
Start installing Node v0.10.29 (x64)
子目录或文件 D:\Users\gongyuqi.nvmw\v0.10.29 已经存在。
Microsoft (R) Windows Script Host Version 5.8
版权所有(C) Microsoft Corporation 1996-2001。保留所有权利。

Download from http://nodejs.org/dist/v0.10.29/x64/node.exe, and save it as D:\Us
ers\gongyuqi.nvmw\v0.10.29\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.10.29/deps/n
pm/package.json
package.json
Content length is 3.58kb
Download 100%, 3.58kb / 3.58kb, 511.86kb/s ...
Donwload done
Download file from http://nodejs.org/dist/npm/npm-1.4.14.zip
npm-1.4.14.zip
Download npm 1.4.14 is done
Microsoft (R) Windows Script Host Version 5.8
版权所有(C) Microsoft Corporation 1996-2001。保留所有权利。

D:\Users\gongyuqi.nvmw\v0.10.29
另一个程序正在使用此文件,进程无法访问。

Look the error,thanks!!!

C:\Windows\System32>nvmw install node-v0.11.15
Start installing node/v0.11.15 (x32) to D:\nodejs\nvmw\v0.11.15
Download from http://npm.taobao.org/mirrors/node/v0.11.15/node.exe, and save it
as D:\nodejs\nvmw\v0.11.15\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.11.15/deps/n
pm/package.json
package.json
Content length is 4.21kb
Download 100%, 4.21kb / 4.21kb, 4.11mb/s ...
Donwload done
Download file from http://npm.taobao.org/mirrors/npm/v2.1.6.zip
v2.1.6.zip
Content length is 3.36mb
Download 100%, 3.36mb / 3.36mb, 960.63kb/s ...
Donwload done
Download npm 2.1.6 is done
Start unzip "D:\nodejs\nvmw\v0.11.15\npm.zip" to "D:\nodejs\nvmw\v0.11.15"
D:\nodejs\nvmw\unzip.js(17, 3) (null): 未指定的错误

系统找不到指定的文件。
存在一个重名文件,或是找不到文件。
系统找不到指定的路径。
D:\nodejs\nvmw\v0.11.15
另一个程序正在使用此文件,进程无法访问。

Input Error: There is no script engine for file extension ".js".

Anyone know where this error is coming from? (Win7 x64)

C:\Windows\System32>nvmw install v0.10.24
Start installing Node v0.10.24
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Input Error: There is no script engine for file extension ".js".
Download C:\Users\user1\.nvmw\v0.10.24\node.exe from http://nodejs.org/dist/v0.10.24/node.exe failed

PowerShell issues

This doesn't seem to play well with existing node installs when using PowerShell:

PS C:\Users\Thomas> nvmw use v0.10.28
Now using Node v0.10.28
PS C:\Users\Thomas> nvmw ls
v0.10.28
Current: none
PS C:\Users\Thomas> node -v
v0.10.13

The same sequence of commands works as expected in Command Prompt of course.

new command prompt forgets node

I have not installed node via msi.
I open a command prompt and type "nvmw use v0.10.13"
Then i can execute node and npm commands normally.
But when closing the command prompt and reopen an other one, Windows forgets node ...
So I have to execute "nvmw use v0.10.13" again (in each new command prompt)

Best way to have a default installation

I don't know if I have a misconfiguration or missing something, but I had to run nvmw use iojs or node each time my cmd is opened. Or else I couldn't use npm or any other global packages I've installed.

I've checked, and everything's correct, I have nvmw in my path.
But nothing for either iojs's or nodejs's npm.

So I've added nvmw's nodejs installation path into my System Path, to at least have nodejs as a default.

Is this correct? Because I can't set a default one from nvmw itself, for example if I decide to use iojs as a default, I'll have to set it myself into my System Path.

Docs would be great for this default configuration I guess.

'nvmw ls' show as if nothing is installed

C:\Users\me>nvmw ls
node:
File Not Found

iojs:
File Not Found

Current: /none

C:\Users\me>nvmw use iojs
Now using iojs latest x64

C:\Users\me>nvmw install iojs
"iojs/latest (x64)" already exists, please uninstall it first

C:\Users\me>nvmw ls
node:
File Not Found

iojs:
File Not Found

Current: /none

Downgrade to v4.1.2 gives error

I enter the command: nvmw install v4.1.2

and I get

ERROR: The system was unable to find the specified registry key or value.

What am I doing wrong?

installing latest iojs regardless of specified version

nvmw install iojs 1.6.2 completes successfully however the output shows its installing npm 2.7.5 (which is associated with iojs 1.6.4) and upon running iojs -v I get 1.6.4.

Any ideas? I've tried with fresh install of nvmw/iojs etc.

Thanks!

Could it work in Git Bash?

It seems bat file doesn't work in Git Bash.
Or is there any other way to make it work in Git Bash?

thanks~

download package.json error

C:\Users\Administrator>nvmw install 0.12.9
Start installing node/v0.12.9 (x64) to D:\Portable\nvmw\v0.12.9
Download from http://npm.taobao.org/mirrors/node/v0.12.9/x64/node.exe, and save
it as D:\Portable\nvmw\v0.12.9\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.12.9/deps/np
m/package.json
package.json
node v0.12.9 does not include npm

Error: https://raw.githubusercontent.com/joyent/node/v0.12.9/deps/npm/package.json Not Found

Upgrading latest

Probably a stupid question, but how do I upgrade latest in place, e.g., from 0.12.6 to 0.12.7? What I've been doing so far is:

nvmw use [something-else-than-latest]
nvmw uninstall latest
nvmw install latest

but that loses my node_modules and bin scripts, so it can take up quite a bit of time.

Perhaps nvmw install latest needs an option to bypass the check if it already exists so it can just overwrite the files?

I guess a naive approach would be to copy the node_modules folder and bin scripts and just move them back after uninstalling and reinstalling?

Handle wrong ARCH

well, I use a wrong installation command by accident: nvmw install iojs 1.8.1, and get a wrong result:

Start installing iojs/latest (1.8.1) to F:\Nodejs\nvmw\iojs\latest-1.8.1

the right one: nvmw install iojs-v1.8.1 and the right result:

Start installing iojs/v1.8.1 (x64) to F:\Nodejs\nvmw\iojs\v1.8.1

The codes below set ARCH to '1.8.0' in the file nvmw.bat:

if not %ARCH% == %OS_ARCH% (
  set "NODE_HOME=%NODE_HOME%-%ARCH%"
)

I know I make a mistake, however should we handle this case?

nvmw on w10 and w7 is not working

admin@DESKTOP-S007DTG MINGW64 /c
$ node -v
v5.1.0

admin@DESKTOP-S007DTG MINGW64 /c
$ npm -v
3.3.12

admin@DESKTOP-S007DTG MINGW64 /c
$ nvmw -h
/c/Users/admin/AppData/Roaming/npm/nvmw: line 1: /node_modules/nvmw/bin/nvmw.bat: No such file or directory

admin@DESKTOP-S007DTG MINGW64 /c
$ nvmw install v0.10.20
/c/Users/admin/AppData/Roaming/npm/nvmw: line 1: /node_modules/nvmw/bin/nvmw.bat: No such file or directory

admin@DESKTOP-S007DTG MINGW64 /c
$

when nvmw install ,download done .C:\Users\Administrator\.nvmw\unzip.js(17, 3) (null):

Start installing node/v0.11.14 (x64) to C:\Users\Administrator\.nvmw\v0.11.14
Download from http://npm.taobao.org/mirrors/node/v0.11.14/x64/node.exe, and save it as C:\Users\Administrator\.nvmw\v0.11.14\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.11.14/deps/npm/package.json
package.json
Content length is 3.85kb
Download 100%, 3.85kb / 3.85kb, 963.62kb/s ...
Donwload done
Download file from http://npm.taobao.org/mirrors/npm/v2.0.0.zip
v2.0.0.zip
Redirect: http://cdn.npm.taobao.org/dist/npm/v2.0.0.zip
Download file from http://cdn.npm.taobao.org/dist/npm/v2.0.0.zip
v2.0.0.zip
Content length is 2.82mb
Download 100%, 2.82mb / 2.82mb, 9.97mb/s ...
Donwload done
Download npm 2.0.0 is done
Start unzip "C:\Users\Administrator\.nvmw\v0.11.14\npm.zip" to "C:\Users\Administrator\.nvmw\v0.11.14"
C:\Users\Administrator\.nvmw\unzip.js(17, 3) (null): 未指定的错误

系统找不到指定的文件。
存在一个重名文件,或是找不到文件。
系统找不到指定的路径。
C:\Users\Administrator\.nvmw\v0.11.14
另一个程序正在使用此文件,进程无法访问。

Various architectures cannot coexist

Problem:

# on x64 system

# Test 1:
nvmw install iojs-v1.2.0
nvmw use iojs-v1.2.0
iojs -p process.arch
# => x64

# Test 2:
# now install same version with x86 architecture:
nvmw install iojs-v1.2.0 x86
# you will probably notice that during the installation,
# it will ask to overwrite files when unzipping npm.zip..
nvmw use iojs-v1.2.0-x86
iojs -p process.arch
# => x64
# expected: x86

# Test 3:
# now install different version with x86 architecture
# whose x64 variant is not installed:
nvmw install iojs-v1.1.0 x86
nvmw use iojs-v1.1.0-x86
iojs -p process.arch
# => x86

Proposed solution:

  • Always save with architecture slug (-x86 or -x64), if the architecture is not provided in nvmw install on x64, still save with -x64 prefix.
  • On nvmw use, if -x64 or -x86 is provided, do not disregard it (see Test 2 and Test 3 in above example) and throw the error if the intended {runtime}-{version}-{architecture} is not installed.
  • If architecture suffix is not provided, append the system default architecture slug (-x64 on 64-bit OS).

Missing npm v1.4.14 package

Trying to install node v0.10.29, but fails while trying to download npm from:
http://nodejs.org/dist/npm/npm-1.4.14.zip
Package does not exist. Maybe you would know why the package was not published? Maybe a new location or no longer distributed as a zip?

For sure, the console output from nvmw was not helpful in debugging this and it took me some time to find out what was happening.

nvmw install v0.10.29
Start installing Node v0.10.29 (x64)
Start installing Node v0.10.29 (x64)
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Download from http://nodejs.org/dist/v0.10.29/x64/node.exe, and save it as C:\Us
ers\Patrick.nvmw\v0.10.29\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.10.29/deps/npm/package.json
package.json
Content length is 3.58kb
Download 100%, 3.58kb / 3.58kb, 1.75mb/s ...
Donwload done
Download file from http://nodejs.org/dist/npm/npm-1.4.14.zip
npm-1.4.14.zip
Download npm 1.4.14 is done Hangs at this line for about 2 minutes
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\Patrick.nvmw\v0.10.29
The process cannot access the file because it is being used by another process.

Can't install using nvmw

Getting this error when installing any version of both node and iojs

A duplicate file name exists, or the file
cannot be found.
The system cannot find the path specified.
D:\

Omissible `iojs-`

I propose a feature that let we can specify nvmw use v2.3.2 instead of nvmw use iojs-v2.3.2.
Sometimes, I type nvmw use iojs v2.3.2 by mistake.
I think that no duplicate version numbers are existing between NodeJS and iojs.

nvmw throw an error when %NODE_TYPE%\%NODE_VERSION% was not found.
It should set iojs to %NODE_TYPE% and try find again when %NODE_TYPE% is node.

fatal: git checkout: updating paths is incompatible with switching branches

I'm unable to use nvmw.

C:\>nvmw install v0.6.9
Start installing Node v0.6.9

Download node.exe from http://nodejs.org/dist/v0.6.9/node.exe, and save it as C:
\nvmw\v0.6.9\node.exe
Done
Start install npm
Cloning into npm...
remote: Counting objects: 17949, done.
remote: Compressing objects: 100% (4929/4929), done.
remote: Total 17949 (delta 13260), reused 17530 (delta 12896)
Receiving objects: 100% (17949/17949), 5.32 MiB | 1.56 MiB/s, done.
Resolving deltas: 100% (13260/13260), done.
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'origin/tar-js' which can not be resolved as commit?
npm ERR! error installing [email protected]

npm ERR! Error: UNKNOWN, unknown error 'C:\nvmw\v0.6.9\npm'
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\nvmw\\v0.6.9\\node.exe" "C:\\nvmw\\v0.6.9\\npm\\cli.js" "i
nstall" "-g"
npm ERR! cwd C:\nvmw\v0.6.9\npm
npm ERR! node -v v0.6.9
npm ERR! npm -v 1.1.0-3
npm ERR! path C:\nvmw\v0.6.9\npm
npm ERR! code UNKNOWN
npm ERR! message UNKNOWN, unknown error 'C:\nvmw\v0.6.9\npm'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\nvmw\v0.6.9\npm\npm-debug.log
npm not ok
C:\nvmw\v0.6.9\npm
C:\nvmw\v0.6.9\npm - Der Prozess kann nicht auf die Datei zugreifen, da sie von
einem anderen Prozess verwendet wird.```

404 Not Found

So.... I try to nvmw install anything any i get 404 Not Found

C:\Users\<omitted>>nvmw install 0.10.20
Start installing Node 0.10.20
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Download from http://nodejs.org/dist/0.10.20/node.exe, and save it as C:\Users\<omitted>\.nvmw\0.10.20\node.exe
404 Not Found
Download C:\Users\<omitted>\.nvmw\0.10.20\node.exe from http://nodejs.org/dist/0.10.20/node.exe failed

Did they change the url pattern recently?

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.