部署yapi的时候出现问题
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/my-yapi/vendors/node_modules/dtrace-provider/.node-gyp" gyp WARN EACCES user “root” does not have permission to access the dev dir “/usr/local/my-yapi/vendors/node_modules/dtrace-provider/.node-gyp/9.3.0”
2 回复
系统centos6.9 npm v5.5.1 node v9.3.0
安装ypai之后,没有yapi这个命令, 在 /usr/local/node/node9.3/bin 目录下通过 ./yapi server命令启动的。