小牛更新後,我的npm終端無法工作。小牛更新後Npm不工作
node app.js
效果很好,運行我的應用程序,但是當我運行npm
後面是我得到的任何東西-bash: npm: command not found
。我知道這個問題已經在此之前,有人問:
Global installation with npm doesn't work after Mac OS X Mavericks update 和 How do I install a module globally using npm? 和npm not working after reinstalling Mac OS X ,但沒有一個答案解決了我的情況。
$ echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/mongodb/bin
原來是所謂的glibtools。 – Squirrl 2014-10-08 16:01:40
https://github.com/joyent/libuv/issues/1200 http://stackoverflow.com/questions/13139765/rxtxserial-dll-for-macos-10-8 – Squirrl 2014-11-01 04:31:30