weexteam / devtool-for-Apache-Weex

debugger tools with chrome devtool for Apache Weex
MIT License
258 stars 40 forks source link

weex debug 时出现错误 #55

Closed lifeMiik closed 7 years ago

lifeMiik commented 7 years ago

debug 命令时出现如下错误,该如何解决呢 Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/weex-toolkit/node_modules/weex-devtool/frontend/weex' errno: -13, code: 'EACCES', syscall: 'mkdir', path: '/usr/local/lib/node_modules/weex-toolkit/node_modules/weex-devtool/frontend/weex' } 'Error: EACCES: permission denied, mkdir \'/usr/local/lib/node_modules/weex-toolkit/node_modules/weex-devtool/frontend/weex\''

exolution commented 7 years ago

不要使用 sudo来安装 weex-toolkit 先卸载掉 重新不加sudo安装吧 如果不加sudo安装提示 permission denied 请尝试 sudo chmod 777 /usr/local/lib/node_modules 然后再安装 无脑sudo不仅麻烦 而且有时候还会带来权限问题

452MJ commented 7 years ago

@exolution 不行啊

GeekEver commented 7 years ago

检查下owner

shazhou2015 commented 6 years ago

果然是sudo带来的问题