1
我想在當地的流浪者盒子上安裝ghost cms。Ghost CMS - sudo npm install --production - 錯誤
後,我在「命令故宮安裝 - 生產」型我得到這個錯誤:
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"
npm ERR! node v4.2.3
npm ERR! npm v3.5.1
`npm ERR! path /var/www/html/ghost/node_modules/node-pre-
`gyp/node_modules/rc/node_modules/strip-json-comments/cli.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/html/ghost/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/cli.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/html/ghost/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/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
誰能幫助我?
難道你解決過這個問題嗎?有相同的問題... –
我thintk它可能是相同的事情:http://stackoverflow.com/questions/17990647/npm-install-errors-with-error-enoent-chmod –
也有這個問題 - 任何更新? – itsclarke