windows下安装失败:npm install jsdom

问题描述

我已经在我的 Windows 电脑上安装了 nodejs。它工作正常。但是当我尝试使用“npm install jsdom -g”安装 jsdom 时,我被这个错误提示了。

npm ERR! code 1
npm ERR! path K:\nodejs\node_global\node_modules\canvas
npm ERR! command Failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild

entire log here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)