相关疑难解决方法(0)

纱线错误"EACCESS:权限被拒绝,scandir'/home/ubuntu/.config/yarn/link'"

每当我在Ubuntu 16.04服务器上尝试使用yarn时.

它给出了一个错误.

我目前正在使用nodejs v8.10.0

yarn install v1.5.1
error An unexpected error occurred: "EACCES: permission denied, scandir '/home/ubuntu/.config/yarn/link'".
info If you think this is a bug, please open a bug report with the information provided in "/home/ubuntu/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Run Code Online (Sandbox Code Playgroud)

任何人都知道为什么会这样吗?

ubuntu node.js npm yarnpkg

15
推荐指数
1
解决办法
1万
查看次数

EACCES:许可被拒绝,取消关联

我无法使用react.js with command启动我的项目yarn install.得到错误:

error /Users/lera/Desktop/beam-web/node_modules/sharp: 
Failed to auto-install node-gyp. Please run "yarn global add node-gyp" manually. 
Error: "EACCES: permission denied, 
unlink '/Users/lera/.config/yarn/global/node_modules/.yarn-integrity'"
Run Code Online (Sandbox Code Playgroud)

npm 5.0.3.节点8.1.4.纱线0.24.5 macOS Sierra 10.12.4

当我再次启动命令时,它会安装软件包,但是在命令之后yarn run dev它显示如下:

Cannot find module '../build/Release/sharp.node'
Run Code Online (Sandbox Code Playgroud)

我试图添加sharp yarn add sharp,但收到相同的错误.EACCES:许可被拒绝

reactjs

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

node.js ×1

npm ×1

reactjs ×1

ubuntu ×1

yarnpkg ×1