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
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/