本文作者:问几许

node c++编译环境 node-gyp故障问题

问几许 4年前 ( 2019-05-15 ) 1412 抢沙发
node c++编译环境 node-gyp故障问题摘要: 1、首先清除根目录下的.node-gyp  卸载node-gyp模块   npm uninstall node-gyp -g2、安装环境&n...

1、首先清除根目录下的.node-gyp  

卸载node-gyp模块   

npm uninstall node-gyp -g


2、安装环境 

npm i -g windows-build-tools

重新安装node-gyp

npm install -g node-gyp


3、设置python版本

npm iconfig set python python


4、安装.net 2.0 


5、安装vs 201*  c++  环境


6安装microtime运行时

npm i microtime --save-dev


文章版权及转载声明

作者:问几许本文地址:https://wenjixu.com/blog/119.html发布于 4年前 ( 2019-05-15 )
文章转载或复制请以超链接形式并注明出处问几许

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

阅读
分享

发表评论

快捷回复:

评论列表 (暂无评论,1412人围观)参与讨论

还没有评论,来说两句吧...