-
Notifications
You must be signed in to change notification settings - Fork 180
Failed at the phantomjs@1.9.19 install script 'node install.js'. #1427
Comments
phantomjs 安装失败,尝试使用 cnpm 安装 |
用了cnpm安装还是报同样的错: sh: node: command not found npm ERR! phantomjs@1.9.19 install: npm ERR! Please include the following file with any support request: 说找不到node,但是我已经安装了node v4.2.6. |
建议自行搜索解决 node 环境问题。。。 |
npm install spm -g --force |
用npm安装spm出现如下错误:
系统环境:OS X Yosemite 10.10.5
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "spm" "-g"
npm ERR! node v4.2.6
npm ERR! npm v2.14.12
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! phantomjs@1.9.19 install:
node install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the phantomjs@1.9.19 install script 'node install.js'.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
请问这是什么原因啊?
The text was updated successfully, but these errors were encountered: