作为最后的手段,我希望这里有人可以帮助我。我一直在尝试安装 node-expat 但没有运气。我之前从包管理器安装过,但是从源代码安装时出现以下错误:
..\..\..\deps\libexpat\lib\xmltok.c(5): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [c:\dev\node-expat\build\deps\libexpat\expat.vcxproj]
..\..\..\deps\libexpat\lib\xmlparse.c(5): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [c:\dev\node-expat\build\deps\libexpat\expat.vcxproj]
..\..\..\deps\libexpat\lib\xmlrole.c(5): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [c:\dev\node-expat\build\deps\libexpat\expat.vcxproj]
C:\Program Files (x86)\Windows Kits\8.0\Include\um\windows.h(160): fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory (C:\Users\currentuser\AppData\Roaming\npm\node_modules\node-gyp\src\win_delay_load_hook.c) [c:\dev\node-expat\build\deps\libexpat\expat.vcxproj]
先感谢您!