我会尽量提供关于我的问题的尽可能多的信息,但问题的一部分是它阻止我看到所有出错的东西。
首先,当我安装 generator-gulp-bootstrap 时,它给了我一堆对等依赖警告,但 yeoman 本身似乎安装得很好,它们只是警告,而不是实际错误。
然后,当我尝试在 yeoman 中启动一个新的引导项目时yo gulp-bootstrap
它下载了大量的文件(88.5mb)——这是我开始担心的地方,因为没有 npm 安装需要这么长时间或下载这么多文件。我一直看到警告在滚动时弹出,它们看起来像是弃用警告,但它们飞得太快而无法确定。我想当它完成后我会回去仔细检查它们,但那是我注意到我最大的问题的时候——它不会让我向上滚动很远。它甚至不会滚动到包安装完成时显示的文件结构图的顶部。所以从那里我去 npm-debug.log 试图找出问题所在,但我注意到它有 12,363 行长——我不知道在哪里看,我什至不知道我是否可以发布它这里的帖子中有很多字符。
我真的只有一件事要做 - 安装底部的一个可见错误,它不会让我在终端中向上滚动足够远以查看还有什么问题,而且我不知道在哪里查看调试日志。我认为我不应该在此处发布调试日志,因为它有 12.3k 行长......有人知道我应该从这里做什么吗?谢谢。我尝试删除所有 yeoman 组件并完全重新安装 yeoman 以及生成器,还重新安装了 node-sass。不知道现在还能做什么。
58576 error Windows_NT 6.1.7601
58577 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Elliot\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
58578 error node v4.1.1
58579 error npm v3.3.5
58580 error code ELIFECYCLE
58581 error node-sass@0.9.6 install: `node build.js`
58581 error Exit status 1
58582 error Failed at the node-sass@0.9.6 install script 'node build.js'.
58582 error This is most likely a problem with the node-sass package,
58582 error not with npm itself.
58582 error Tell the author that this fails on your system:
58582 error node build.js
58582 error You can get their info via:
58582 error npm owner ls node-sass
58582 error There is likely additional logging output above.