Closed ionwebs closed 1 year ago
Try running the console (or vscode if you're using it) as admin.
Try running the console (or vscode if you're using it) as admin.
Still doesn't work...
When this error appears? During the init command ? During the yarn install ? Can you provide the all trace ?
hi it has issue with latest react native 0.71.4 because metro issue stuck running even you closed. you can downgrade your react version to stable version https://www.npmjs.com/package/react-native?activeTab=versions
or if you are using windows try using this and put this command on bat file
react-native run-android & react-native start --reset-cache
react-native environment setup
Description
node:events:491 throw er; // Unhandled 'error' event ^
Error: EPERM: operation not permitted, lstat '\node_modules\react-native-reanimated\android\build\intermediates\cxx\Debug\543f3x24\obj\x86\libreanimated.so.tmpea04be6' Emitted 'error' event on NodeWatcher instance at: at \node_modules\metro-file-map\src\watchers\NodeWatcher.js:235:14 at FSReqCallback.oncomplete (node:fs:208:21) { errno: -4048, code: 'EPERM', syscall: 'lstat', path: '*\node_modules\react-native-reanimated\android\build\intermediates\cxx\Debug\543f3x24\obj\x86\libreanimated.so.tmpea04be6' }
Node.js v18.15.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Version
0.68
On which OS this issue appear on?
Desktop OS
windows 11