nodists / nodist

Natural node.js and npm version manager for windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I'm not able to add an other version of node (windows 10)

ysaunier opened this issue · comments

I'm working under Windows 10 and I can't change my version of node.

$ nodist
  (x64)
> 6.3.0  (global: v6.3.0)

If I try, I have this message:

$ nodist + 0.10.42
Could not read response for https://nodejs.org/dist/index.json
Could not read response for https://iojs.org/dist/index.json
Version spec, "0.10.42", didn't match any version.
Sorry.

Note:
I did try to install it with chocolate and directly from the exe.
I did try to install 0.8.8 and 0.8.1 (this is one version which working for one of my co-worker under windows 7)

commented

which nodist version are you using?
In my computer nodist work fine.
image

I'm using the version 6.3

I remember having similar issue when I upgraded from nodist 0.8.1 (or earlier) to 0.8.8.
I was not able to install any newer version. What I discovered (and I can see in your console output), old version of nodist was using "v" prefix to point to version used globally - part (global: v6.3.0).
New version of nodist use just version number - currently I have (global: 7.10.0).

So steps which I ended up with were:

  1. Having still installed old version of nodist, I removed all installed versions of node
  2. I've upgraded nodist to 0.8.8 and reinstalled any still required previous versions of node.

After that I was able (and still am) to install newer (or older) versions of node, including 0.10.42.

Hope that will sort your problem as well. Good luck.

Same problem here. nodist version 0.8.8 installed with chocolatey

I'm working behind a proxy, so I had to export the environment variables. I'm able to reach https://nodejs.org/dist/index.json with curl, but nodist showing the error described here.

$ env | grep -i proxy
HTTP_PROXY=myproxy
FTP_PROXY=myproxy
ALL_PROXY=myproxy
HTTPS_PROXY=myproxy
RSYNC_PROXY=myproxy

$ nodist + 8
Could not read response for https://nodejs.org/dist/index.json
Could not read response for https://iojs.org/dist/index.json
Version spec, "8", didn't match any version.
Sorry.

Same error since 2017... I'm closing this issue.