node-pre-gyp

yarn insatll 安装依赖包异常:gyp ERR! node -v v16.16.0 node-pre-gyp ERR! node -v v16.16.0

解决方法: 删除node_module和.lock文件 Windows 执行 yarn --unsafe-perm或npm install --unsafe-perm Linux 执行 sudo yarn --unsafe-perm 或 sudo npm install --unsafe-perm ......
node 16 node-pre-gyp gyp ERR
共1篇  :1/1页 首页上一页1下一页尾页