/opt/node/bin/sqlpad -> /opt/node/lib/node_modules/sqlpad/server/server.js
> [email protected] install /opt/node/lib/node_modules/sqlpad/node_modules/odbc
> node-gyp configure build
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/10.13.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/node/lib/node_modules/sqlpad/node_modules/odbc/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/node/lib/node_modules/sqlpad/node_modules/odbc/.node-gyp'
gyp ERR! System Linux 3.10.0-327.22.2.el7.x86_64
gyp ERR! command "/opt/node/bin/node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /opt/node/lib/node_modules/sqlpad/node_modules/odbc
gyp ERR! node -v v10.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/sqlpad/node_modules/odbc):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ [email protected]
updated 1 package in 4.314s
root 用户没有权限访问 /root 目录。这是啥逻辑?