LoginSignup
8
4

More than 3 years have passed since last update.

node.jsにnodemonをインストールするが動かない人へ

Last updated at Posted at 2021-01-04

node.jsにnodemonを入れると変更を監視してくれるので開発効率が上がる。
しかしnodemonをinstallしても動かない人一旦アンインストールして以下を試して欲しい。

エラー内容
bash: nodemon: command not found
解決方法
//アンインストールする
npm uninstall nodemon

//グローバルしてインストール
sudo npm install -g --force nodemon

ローカル開発環境にVSで開発するのが主流だと思うが、当方いつでもどこでも開発したいのでC9で開発しようと思ったらこのエラーにぶち当たった。
誰かの役に立てば。

8
4
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
8
4