Nvm-windows: version 1.1.6 didn't fix spacing issue

Created on 13 Jul 2018  路  16Comments  路  Source: coreybutler/nvm-windows

Issue still happening for me on windows 10.

image

Most helpful comment

I solved this issue by deleting the tool and installing it again with another installation path that doesn't include spaces on it, like this:
C:\nvm

All 16 comments

Also facing the same issue.
image

same problem
image

Same issue.
image

I solved this issue by deleting the tool and installing it again with another installation path that doesn't include spaces on it, like this:
C:\nvm

I'd be curious if https://github.com/coreybutler/nvm-windows/pull/355 fixes the issue. I've tried a few different means of fixing this in the past, but I'd like to merge this PR if it resolves the issue for folks.

It seems like it fixes the issue for at least 2 people based on the reactions to my following comment: https://github.com/coreybutler/nvm-windows/issues/41#issuecomment-390732150

So I'd suggest people try out my fork (release is linked in that comment) and report back here, to (hopefully) get a larger sample size regarding people for whom the fix works. :)

@s-h-a-d-o-w There are several problems occured while using nvm v1.1.7 from your fork.

First of all, I tried to install the latest Nodejs, but tag v6.2.0 on npm/npm returns 404 because the official npm repository has moved. I manually downloaded npm from npm/cli and extracted it to <nvm_path>\v10.8.0\node_modules\npm. Then I tried to use it but failed with status 5.
default

I was thinking if it was the problem caused by failed npm installation (also my manual installation was in a wrong way). I tried to install node v6.14.3. The installation worked like a charm but I failed to use it again with status 5.
default

Well, I didn't change any code related to the npm repository, so yes - v10.8.0 doesn't work with my fork either. Because it probably also wouldn't with the original.

As for v6.14.3 - alright, I don't know about that one. I have a space in my nvm install path too but I just tried to install and use that version and it works for me... :/
It's interesting to note though that the exit status is 5 and not 1. I don't know nvm-windows well enough to know what that status means but I suppose Corey does...

@s-h-a-d-o-w I've installed the original nvm-windows and have uninstalled it before using your fork. Not sure if it is the issue that there are still files or directories that were not cleaned up.

I should try to make a clean install of your fork.

@s-h-a-d-o-w Your fork works! 馃槃 馃帀
default
(Your tag is 1.1.7 however nvm version returns 1.1.6 馃槙 )

It was my bad that I did not run the terminal as the admin while using nvm use.
Therefore the modification to the symlink failed.

@s-h-a-d-o-w If you rebase your fork on the 1.1.7 tag (currently master), node 10.8.0+ should work. That issue has nothing to do with your fork.... but I fixed it last night in master.

Rebase done, updated the executables in release 1.1.7 of my fork. (So now even the nvm version information matches :wink: )

Can confirm that installing v10.8.0 works for me too now. :smile:

355 has been merged and appears to be working well. Expect it in the 1.1.8 release (available now in master).

This is still affecting me in version 1.1.7.

@euroclydon37 - right, as I said, it'll land in 1.1.8. You can build from source if you need this now.

I solved this by just using short Path.. Changing C:\Program Files\nvm with nvm root C:\PROGRA~1\nvm

Was this page helpful?
0 / 5 - 0 ratings

Related issues

janpio picture janpio  路  3Comments

eliavmaman picture eliavmaman  路  6Comments

Deilan picture Deilan  路  4Comments

AllainPL picture AllainPL  路  7Comments

Miggleness picture Miggleness  路  6Comments