node-gyp安装 报错if not defined npm_config_node_gyp
解决if not defined npm_config_node_gyp
1
npm install -g node-gyp
2
npm config set node_gyp "node C:\Users\me\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js"
posted on 2019-03-09 18:05 Mr-Hawaii-Felix 阅读(4189) 评论(0) 编辑 收藏 举报