Tag: 后期安装

StriderCD全局安装后安装失败,访问$ HOME / .config $ HOME / .cache

我正在试图找出在全球安装StriderCD的最佳方法。 我通过全局启用的nvm fork来安装node和npm,并且所有的path对于其他的构build都可以正常工作,但是没有一个需要像这样的post安装。 我已经尝试了sudo npm install -g strider ,也只是以root用户身份安装而没有安装sudo,但是我总是在post安装步骤中遇到了.config和.cache文件夹中的EACCESS错误。 > strider@1.6.6 postinstall /usr/local/lib/node_modules/strider > bower install –allow-root && npm run build /usr/local/lib/node_modules/strider/node_modules/bower/node_modules/mkdirp/index.js:89 throw err0; ^ Error: EACCES, permission denied '/home/ubuntu/.config' 以root用户身份安装,root用户没有其自己的$ HOME目录的权限,这是非常奇怪的,除非bower用错误的权限创build目录和文件。 任何人都可以解释一下 > strider@1.6.6 postinstall /usr/local/lib/node_modules/strider > bower install –allow-root && npm run build /usr/local/lib/node_modules/strider/node_modules/bower/node_modules/configstore/index.js:56 throw err; ^ Error: EACCES, permission denied '/root/.config/configstore/bower-github.yml' You […]