LoginSignup
0
0

node.jsの切り替え

Posted at

うっかりnode.jsを最新版にすると、古いプロジェクト(Vue CLI)で、モジュールの互換性でエラーになることが多々あるので、nvmを使って簡単にバージョン管理しちゃいましょう。
コマンドプロンプトは管理者権限で実行します。

インストールされているバージョン一覧
nvm list
    18.17.0
  * 12.13.0 (Currently using 64-bit executable)
バージョン切り替え
nvm use 18.17.0
  Now using node v18.17.0 (64-bit)
バージョンを指定してインストール
  nvm install 12.13.0
0
0
0

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
0
0