LoginSignup
15
11

More than 5 years have passed since last update.

ndenvで作った環境下でnpm install -gでインストールしたコマンドが見つからずに死にかける

Last updated at Posted at 2015-04-17

起こったこと

jshintを使いたかったが、

npm install -g jshint

してもjshintコマンドが実行できない...

ndenv/shimsをlsしてもnodeとnpmだけ、
versions配下のbinにはjshintも含まれているのにshimsにはいない。
試しにndenv localでローカルとglobalのバージョンを合わせてみても、バージョンを切り替えてみても解決しない。
\(^q^)/

解決方法

ndenv rehash

以上。
俺の1時間はなんやったんや…

参考URL

15
11
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
15
11