/opt/node/bin/sqlpad -> /opt/node/lib/node_modules/sqlpad/server/server.js
> odbc@1.4.5 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: odbc@1.4.5 (node_modules/sqlpad/node_modules/odbc):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: odbc@1.4.5 install: `node-gyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ sqlpad@2.8.0
updated 1 package in 4.314s
root 用户没有权限访问 /root 目录。这是啥逻辑?
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.