npm安装irc失败
我一直在试图为Node.Js安装node-irc库。
我似乎遇到这个问题,不知道为什么。 我安装了一个全新的Node.JS(版本4.22),我在Windows上安装了.NET Framework 2.0 SDK,Python 2.7.10
这是错误:
C:\ Users \ Owner \ Desktop \ Test \ node_modules \ irc \ node_modules \ node-icu-charset-detector>如果未定义npm_config_node_gyp(节点“D:\ Program Files(x86)\ nodejs \ node_modules \ npm \ bin \ node -gyp-bin \ …. \ node_modules \ node-gyp \ bin \ node-gyp.js“rebuild)else(node rebuild)
一次构build一个解决scheme中的项目。 要启用并行构build,请添加“/ m”开关。
d:\ Program Files(x86)\ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ src \ win_delay_load_hook.c(13):致命错误C1083:无法打开包含文件:'windows.h':没有这样的文件或目录
[C:\用户\用户\桌面\testing\ node_modules \ IRC \ node_modules \节点ICU-字符集探测器\构build\ binding.sln]
gyp ERR! build立错误
gyp ERR! 堆栈错误:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
失败,退出代码:1gyp ERR! 在ChildProcess.onExit(D:\ Program Files(x86)\ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ build.js:270:23)
gyp ERR! 在emitTwo(events.js:87:13)
gyp ERR! 在ChildProcess.emit(events.js:172:7)
gyp ERR! 在Process.ChildProcess._handle.onexit(internal / child_process.js:200:12)
gyp ERR! 系统Windows_NT 6.2.9200
gyp ERR! 命令“D:\ Program Files(x86)\ nodejs \ node.exe”“D:\ Program Files(x86)\ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ bin \ node-gyp.js”“rebuild”
gyp ERR! cwd C:\ Users \ Owner \ Desktop \ Test \ node_modules \ irc \ node_modules \ node-icu-charset-detector
gyp ERR! 节点-v v4.2.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! 不好
iconv@2.1.11安装C:\ Users \ Owner \ Desktop \ Test \ node_modules \ irc \ node_modules \ iconv node-gyp rebuild