LoginSignup
3

More than 5 years have passed since last update.

nodist使ってもNode.jsのバージョン変わらない問題

Last updated at Posted at 2018-10-01

問題点

nodistでnode.jsのバージョン変更しようと思ったのに変更されない

C:>nodist 8.12.0
8.12.0
Default global pacakge update dsuccessful.

C:>node -v
v8.11.4

解決策1: 文法のチェック

文法は"nodist X.XX.X"が正しい

正: nodist 8.12.0
誤: nodist v8.12.0

解決策2: Node.jsのアンインストール

Node.js→nodistの順でインストールすると正常に動かない様子.

新規にインストールする場合はnodistのみインストールしてnodist経由でNode.jsを導入する.
すでにNode.jsをインストールしてある場合は,Node.jsをアンインストールでOK

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3