错误:Eperm:不允许操作,Scandir
请我运行一个反应本地项目 但是,当我运行NPX React-Native Run Android命令时,我在下面得到错误,
error EPERM: operation not permitted, scandir 'C:/Users/REO/AppData/Local/Application Data'.
Error: EPERM: operation not permitted, scandir 'C:/Users/REO/AppData/Local/Application Data'
at Object.readdirSync (node:fs:1381:3)
at GlobSync._readdir (C:\Users\REO\node_modules\glob\sync.js:285:46)
at GlobSync._readdirInGlobStar (C:\Users\REO\node_modules\glob\sync.js:264:20)
at GlobSync._readdir (C:\Users\REO\node_modules\glob\sync.js:273:17)
at GlobSync._processReaddir (C:\Users\REO\node_modules\glob\sync.js:134:22)
at GlobSync._process (C:\Users\REO\node_modules\glob\sync.js:129:10)
at GlobSync._processGlobStar (C:\Users\REO\node_modules\glob\sync.js:377:10)
at GlobSync._process (C:\Users\REO\node_modules\glob\sync.js:127:10)
at GlobSync._processGlobStar (C:\Users\REO\node_modules\glob\sync.js:380:10)
at GlobSync._process (C:\Users\REO\node_modules\glob\sync.js:127:10)
info Run CLI with --verbose flag for more details.
请有人指出解决方案。.我到处搜索,但没有找到解决方案
please I am running a react native project
but when I run the npx react-native run-android command, I get the error below
error EPERM: operation not permitted, scandir 'C:/Users/REO/AppData/Local/Application Data'.
Error: EPERM: operation not permitted, scandir 'C:/Users/REO/AppData/Local/Application Data'
at Object.readdirSync (node:fs:1381:3)
at GlobSync._readdir (C:\Users\REO\node_modules\glob\sync.js:285:46)
at GlobSync._readdirInGlobStar (C:\Users\REO\node_modules\glob\sync.js:264:20)
at GlobSync._readdir (C:\Users\REO\node_modules\glob\sync.js:273:17)
at GlobSync._processReaddir (C:\Users\REO\node_modules\glob\sync.js:134:22)
at GlobSync._process (C:\Users\REO\node_modules\glob\sync.js:129:10)
at GlobSync._processGlobStar (C:\Users\REO\node_modules\glob\sync.js:377:10)
at GlobSync._process (C:\Users\REO\node_modules\glob\sync.js:127:10)
at GlobSync._processGlobStar (C:\Users\REO\node_modules\glob\sync.js:380:10)
at GlobSync._process (C:\Users\REO\node_modules\glob\sync.js:127:10)
info Run CLI with --verbose flag for more details.
Please can someone point out a solution..I've searched everywhere and haven't found a solution
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
遇到了类似的问题
我在尝试使用 EAS 进行博览会构建时
。卸载然后重新安装节点为我解决了这个问题。
https://nodejs.org/en/
I had a similar issue with
while trying to do an expo build using EAS.
Uninstalling and then reinstalling node fixed the issue for me.
https://nodejs.org/en/