首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >地球- npm错误!错误: EPERM:不允许操作,符号链接

地球- npm错误!错误: EPERM:不允许操作,符号链接
EN

Stack Overflow用户
提问于 2022-08-10 13:34:28
回答 2查看 886关注 0票数 1

每当我安装一个npm软件包(比如:木偶师,梦魇,剧作家),我都会收到同样的错误信息;

但是当我安装npm软件包(axios、http、axios等)时,它没有显示出来。几乎所有的小包裹..!

npm安装剧作家

代码语言:javascript
复制
npm ERR! code EPERM
npm ERR! syscall symlink
npm ERR! path ../playwright/cli.js
npm ERR! dest /storage/emulated/0/Android/data/io.spck.editor.node/files/Alexa Kairen || Doruk/node_modules/.bin/playwright
npm ERR! errno -1
npm ERR! Error: EPERM: operation not permitted, symlink '../playwright/cli.js' -> '/storage/emulated/0/Android/data/io.spck.editor.node/files/Alexa Kairen || Doruk/node_modules/.bin/playwright'
npm ERR!  [Error: EPERM: operation not permitted, symlink '../playwright/cli.js' -> '/storage/emulated/0/Android/data/io.spck.editor.node/files/Alexa Kairen || Doruk/node_modules/.bin/playwright'] {
npm ERR!   errno: -1,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'symlink',
npm ERR!   path: '../playwright/cli.js',
npm ERR!   dest: '/storage/emulated/0/Android/data/io.spck.editor.node/files/Alexa Kairen || Doruk/node_modules/.bin/playwright'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2022-08-10T13_22_34_261Z-debug-0.log
EN

回答 2

Stack Overflow用户

发布于 2022-08-11 06:13:48

注意:不要将我的android设置为英语,这样设置可能会有不同的翻译。

App-info

  • Rights

  • 在您的手机上持有Termux应用程序

  • Files and media上单击或Permissions
  1. Click,再单击
票数 0
EN

Stack Overflow用户

发布于 2022-10-01 12:38:56

尝试安装带有标志--no-bin-linksnpm install --no-bin-links playwright的软件包。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73307285

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档