我想在我的Ubuntu LTS v16.4安裝喲,但我得到這個錯誤:錯誤而安裝自耕農
npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "yo"
npm ERR! node v6.2.0
npm ERR! npm v3.9.0
npm ERR! path /usr/local/lib/node_modules/yo/lib/cli.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/yo/lib/cli.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/yo/lib/cli.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/momor1/npm-debug.log
正如你看到的,我有最新的NPM和的NodeJS,我在根模式,所以我仍然不明白它爲什麼拋出這個錯誤。任何幫助,請:)
http://stackoverflow.com/q/17990647/297087 – Salil
我嘗試了@Salil –
好吧,我也越來越相同的錯誤:(,請讓我知道,如果你固定的問題。 – Salil