2
在Ubuntu 12.10與節點0.6.19和NPM v 1.1.4,我得到試圖從NPM源和克隆GitHub上的根(須藤)安裝時,以下消息:莫吉托安裝錯誤
npm ERR! error installing [email protected]
npm ERR! error installing [email protected]
npm ERR! Error: ENOENT, chmod '/usr/local/lib/node_modules/mojito/node_modules/___yuidocjs.npm/package/tests/out/files/input_charts_StackedAreaSeries.js.html'
npm ERR! You may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/me/devpath/mojito/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "mojito"
npm ERR! cwd /home/me/devpath/mojito
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! path /usr/local/lib/node_modules/mojito/node_modules/___yuidocjs.npm/package /tests/out/files/input_charts_StackedAreaSeries.js.html
npm ERR! fstream_path /usr/local/lib/node_modules/mojito/node_modules/___yuidocjs.npm /package/tests/out/files/input_charts_StackedAreaSeries.js.html
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! message ENOENT, chmod '/usr/local/lib/node_modules/mojito/node_modules/___yuidocjs.npm/package/tests/out/files/input_charts_StackedAreaSeries.js.html'
npm ERR! errno {}
npm ERR! fstream_stack Object.oncomplete (/usr/lib/nodejs/fstream/lib/writer.js:285:17)
npm ERR! Error: ENOENT, chmod '/usr/local/lib/node_modules/mojito/node_modules/js-yaml/bin/js-yaml.js'
npm ERR! You may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/me/devpath/mojito/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "mojito"
npm ERR! cwd /home/me/devpath/mojito
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! path /usr/local/lib/node_modules/mojito/node_modules/js-yaml/bin/js-yaml.js
npm ERR! code ENOENT
npm ERR! message ENOENT, chmod '/usr/local/lib/node_modules/mojito/node_modules/js-yaml/bin/js-yaml.js'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/me/devpath/mojito/npm-debug.log
npm not ok
我不知所措。爲什麼我會像sudo一樣得到一個chmod錯誤?我從哪裏出發?
這是否正常工作?我最終放棄了Mojito並回到我自己的Express實施。傷心的b/c我對Mojito有很大的希望 – patrickgamer
我相信你的意思是'npm cache clear';) – ubik