問題
- 色々なインストール方法が散見されるが、インストール後
npm -v
コマンドを打っただけでエラーになったりする。
解決策
- 素直に 公式 に書いてあるコマンドでインストールをすればいい。
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash - &&\ sudo apt-get install -y nodejs
以上。
Go to list of users who liked
More than 1 year has passed since last update.
npm -v
コマンドを打っただけでエラーになったりする。curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
以上。
Register as a new user and use Qiita more conveniently
Go to list of users who liked