普通网友 2017-09-22 08:44
浏览 1154
已结题

在安装yeoman时出现如下提示错误,怎么解决

E:\node-v8.4.0-win-x64\node-v8.4.0-win-x64>npm install -g yo
E:\node-v8.4.0-win-x64\node-v8.4.0-win-x64\yo -> E:\node-v8.4.0-win-x64\node-v8.4.0-win-x64\node_modules\yo\lib\cli.js
E:\node-v8.4.0-win-x64\node-v8.4.0-win-x64\yo-complete -> E:\node-v8.4.0-win-x64\node-v8.4.0-win-x64\node_modules\yo\lib\completion\index.js

spawn-sync@1.0.15 postinstall E:\node-v8.4.0-win-x64\node-v8.4.0-win-x64\node_modules\yo\node_modules\spawn-sync
node postinstall

'node' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! spawn-sync@1.0.15 postinstall: node postinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the spawn-sync@1.0.15 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lenovo\AppData\Roaming\npm-cache_logs\2017-09-22T08_40_14_944Z-debug.log

E:\node-v8.4.0-win-x64\node-v8.4.0-win-x64>

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
    • ¥15 arduino控制ps2手柄一直报错
    • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
    • ¥15 求chat4.0解答一道线性规划题,用lingo编程运行,第一问要求写出数学模型和lingo语言编程模型,第二问第三问解答就行,我的ddl要到了谁来求了
    • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
    • ¥50 树莓派安卓APK系统签名
    • ¥65 汇编语言除法溢出问题
    • ¥15 Visual Studio问题
    • ¥20 求一个html代码,有偿
    • ¥100 关于使用MATLAB中copularnd函数的问题