我在做教程:http://www.bradoncode.com/tutorials/mean-stack-tutorial-part-1-setup/
试图安装meanjs。一切基本正常,但由于phantomjs安装失败,最终安装失败。
下面是它输出的一条错误日志:
npm ERR phantomjs@1.9.16 install: 'node install.js'
npm ERR Exit status code 1
npm ERR
npm ERR Failed at the phantomjs@1.9.16 install script.
npm ERR This is most likely a problem with 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 There is likely addidional logging output above.
npm ERR System Windows_NT 6.1.7601
npm ERR command "D:\\servers\\node\\\\node.exe" "D:\\servers\\node\\node_modules\\npm\\bin\\npm-cli.js" "install"我在Windows 7上安装了节点v0.10.31。
发布于 2015-08-21 08:42:22
我在安装幻影to时遇到了同样的错误,最终通过手动安装幻影和依赖于它的包来绕过它:
也许有一个更好的方法来解决这个问题,但是在一整天尝试各种想法之后,只有这个对我有用。祝你好运!
https://stackoverflow.com/questions/30293185
复制相似问题