Skip to content
This repository has been archived by the owner on Dec 24, 2018. It is now read-only.

Handle wrong ARCH #50

Open
yanxyz opened this issue May 8, 2015 · 0 comments
Open

Handle wrong ARCH #50

yanxyz opened this issue May 8, 2015 · 0 comments

Comments

@yanxyz
Copy link

yanxyz commented May 8, 2015

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant