运行以下
之后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
答案 0 :(得分:0)
sudo npm install -g docpad@6.53
另外,当你从命令行自己安装docpad时会出现这个错误吗?