1

运行以下命令后

npm install -g npm; npm install -g docpad@6.53

我在安装过程中遇到这些错误

 scripts/doc-build.sh: line 22: .building_ronn: Permission denied
    make: *** [man/man3/npm-bin.3] Error 1
    make: *** Waiting for unfinished jobs....
    scripts/doc-build.sh: line 22: .building_ronn: Permission denied
    make: *** [man/man3/npm-bugs.3] Error 1
    scripts/doc-build.sh: line 22: .building_ronn: Permission denied
    make: *** [man/man3/npm-commands.3] Error 1
    scripts/doc-build.sh: line 22: .building_ronn: Permission denied
    make: *** [man/man3/npm-config.3] Error 1
    npm ERR! addLocalDirectory Could not pack "npm" to "/var/folders/dj/vbwbhr8502s7clkgv1wpfw540000gn/T/npm-85093-ZDFFdytp/1382822267052-0.4880194154102355/tmp.tgz
4

1 回答 1

0

你用sudo试过了吗?IE

sudo npm install -g docpad@6.53

另外,当您从命令行自行安装 docpad 时,您是否收到此错误?

于 2013-10-27T20:03:10.397 回答