hokaccha / nodebrew

Node.js version manager
MIT License
1.06k stars 66 forks source link

`node brew install-binary stable` installs a wrong version #65

Closed Udomomo closed 6 years ago

Udomomo commented 6 years ago

I used this command today, but the installed version is 9.2.0, not 8.9.1.

❯ nodebrew install-binary stable
Fetching: https://nodejs.org/dist/v9.2.0/node-v9.2.0-darwin-x64.tar.gz
######################################################################## 100.0%
Installed successfully

It doesn't cause any trouble, but I'm wondered why. I don't know this happens to others too, but please check it.

My environment: Nodebrew: v0.9.7 node.js: 6.11.4 npm: 3.10.0

hokaccha commented 6 years ago

Thank you for your reporting. I fixed the behavior. Please try following commands.

$ nodebrew selfupdate
$ nodebrew install-binary stable