作者:oq198608104_765 | 来源:互联网 | 2023-08-01 14:12
ImworkingwithNode.js(andacoupleothernodemodules)andIvecomeacrossthisprobleminmult
I'm working with Node.js (and a couple other node modules) and I've come across this problem in multiple different projects now...
我处理节点。js(以及其他几个节点模块)我在多个不同的项目中遇到过这个问题……
With a lot (not all, but many) of node modules, when I try to install a module I get a similar error to this:
有很多(不是全部,而是很多)节点模块,当我尝试安装一个模块时,我得到了类似的错误:
C:\...\.node-gyp\0.8.16\deps\uv\include\uv.h(55): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory [C:\...\AppData\Roaming\npm\node_modules\soap\node_modules\node-expat\build\binding.sln]
Project : warning PRJ0018: The following environment variables were not found: [C:\...\AppData\Roaming\npm\node_modules\soap\node_modules\node-expat\build\binding.sln]
With more than coincidental frequency, Node-Gyp seems to have something to do with it, I think... However I can't find anything suggesting what exactly would cause this.
除了巧合的频率,节点- gyp似乎与此有关,我认为……但是我找不到任何迹象表明到底是什么导致了这一切。
I'm running:
我运行:
-Node 0.8.x (Which I need for one of our custom modules),
-NPM 1.1.69
-Windows 7 x86
Examples of which modules I'm trying to use:
我正在尝试使用的模块示例:
-npm install soap
-npm install nodetime
1 个解决方案