gpt4 book ai didi

phantomjs - Yeoman 生成器总是出错

转载 作者:行者123 更新时间:2023-12-04 12:47:41 24 4
gpt4 key购买 nike

当我尝试使用 yeoman web 生成器时,虽然它正在工作,但查看整个生成进度,它总是在下面给我一些错误,无论我使用什么生成器,它们总是在那里。

npm ERR! phantomjs@1.9.7-6 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs@1.9.7-6 install script.
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.

npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Applications/MAMP/htdocs/DECO3800/test
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.10
npm ERR! code ELIFECYCLE

npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Applications/MAMP/htdocs/DECO3800/test/npm-debug.log
npm ERR! not ok code 0

只是想知道为什么会这样,以及如何解决它或对我构建的 Web 项目完全没有影响?

最佳答案

目前 Bitbucket CDN 似乎存在问题。

您可以将其用作临时解决方法:

PHANTOMJS_CDNURL=http://cnpmjs.org/downloads npm install phantomjs

关于phantomjs - Yeoman 生成器总是出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23823319/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com