我正在尝试在 Windows 上安装 express.io 以执行 express.io 框架示例,但在安装时出现以下错误。我已经使用 node.js windows 安装程序安装了 node.js 和 npm。
C:\Users\amit>npm install express.io
> express.io@1.1.14 prepublish C:\Users\amit\express.io
> echo $(pwd) > /tmp/.pwd; ./node_modules/coffee-script/bin/coffee -o compiled/
-c lib/;
The system cannot find the path specified.
npm ERR! addLocalDirectory Could not pack C:\Users\amit\express.io to C:\Use
rs\amit\AppData\Roaming\npm-cache\express.io\1.1.14\package.tgz
npm ERR! addLocal Could not install C:\Users\amit\express.io
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (
x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "express.io"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! express.io@1.1.14 prepublish: `echo $(pwd) > /tmp/.pwd; ./node_modules/
coffee-script/bin/coffee -o compiled/ -c lib/;`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the express.io@1.1.14 prepublish script 'echo $(pwd) > /tmp/.
pwd; ./node_modules/coffee-script/bin/coffee -o compiled/ -c lib/;'.
npm ERR! This is most likely a problem with the express.io package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! echo $(pwd) > /tmp/.pwd; ./node_modules/coffee-script/bin/coffee -o
compiled/ -c lib/;
npm ERR! You can get their info via:
npm ERR! npm owner ls express.io
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\amit\npm-debug.log