问题描述
嗨,我正在尝试在 veracrypt 容器中创建一个 react 应用程序,但是每次 create-react-app 都会失败,并出现以下错误:
error An unexpected error occurred: "EPERM: operation not permitted,symlink '../../../parser/bin/babel-parser.js' -> '/media/veracrypt1/repo/sax/frontend/node_modules/@babel/core/node_modules/.bin/parser'".
info If you think this is a bug,please open a bug report with the information provided in "/media/veracrypt1/repo/sax/frontend/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Aborting installation.
yarnpkg add --exact react react-dom react-scripts cra-template --cwd /media/veracrypt1/repo/sax/frontend has Failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting generated file... yarn.lock
Done.
看起来像是由于 veracrypt 导致的权限错误,我可以在其他任何地方运行此命令并且没有问题。
有人知道我该如何解决这个问题吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)