node安装的时候,经常会有各种bug。
gyp WARN EACCES user "root" does not have permission to access the dev dir "/www/wwwroot/my-yapi/vendors/node_modules/dtrace-provider/.node-gyp/8.11.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/www/wwwroot/my-yapi/vendors/node_modules/dtrace-provider/.node-gyp"
解决方法:
npm install --unsafe-perm