[]layacmd mac 系统安装不上,急
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)}
span.s1 {font-variant-ligatures: no-common-ligatures}
yaotekejirigala:~ root# npm install layacmd -g/usr/local/bin/layacmd -> /usr/local/lib/node_modules/layacmd/layacmd.js
> electron@1.8.6 postinstall /usr/local/lib/node_modules/layacmd/node_modules/electron
> node install.js
/usr/local/lib/node_modules/layacmd/node_modules/electron/install.js:47
throw err
^
Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/layacmd/node_modules/electron/.electron'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@1.8.6 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@1.8.6 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /var/root/.npm/_logs/2018-05-08T04_07_13_726Z-debug.log
环境:
mac 10.13.4 (17E202)
尝试了
sudo npm install layacmd -g
sudo -s
su -
都试了,
还有什么方法可以试?p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)}
span.s1 {font-variant-ligatures: no-common-ligatures}
span.s1 {font-variant-ligatures: no-common-ligatures}
yaotekejirigala:~ root# npm install layacmd -g/usr/local/bin/layacmd -> /usr/local/lib/node_modules/layacmd/layacmd.js
> electron@1.8.6 postinstall /usr/local/lib/node_modules/layacmd/node_modules/electron
> node install.js
/usr/local/lib/node_modules/layacmd/node_modules/electron/install.js:47
throw err
^
Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/layacmd/node_modules/electron/.electron'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@1.8.6 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@1.8.6 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /var/root/.npm/_logs/2018-05-08T04_07_13_726Z-debug.log
环境:
mac 10.13.4 (17E202)
尝试了
sudo npm install layacmd -g
sudo -s
su -
都试了,
还有什么方法可以试?p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)}
span.s1 {font-variant-ligatures: no-common-ligatures}
没有找到相关结果
已邀请:
1 个回复
Aaron1111
赞同来自: