1
votes

I am fairly new to React Native, and it appears my app is crashing prior to executing my primary app code, but I cannot figure out where. In VSCode, I see the following in my Output:

Error: EPERM: operation not permitted, lstat 'c:\Dev\myapp\android\app\build\generated\not_namespaced_r_class_sources\debug\r\com\bumptech\glide\integration\okhttp' Emitted 'error' event on NodeWatcher instance at: at NodeWatcher. (c:\Dev\myapp\node_modules\sane\src\node_watcher.js:291:16) at FSReqCallback.oncomplete (fs.js:176:21) { errno: -4048, code: 'EPERM', syscall: 'lstat', path: 'c:\Dev\myapp\android\app\build\generated\not_namespaced_r_class_sources\debug\r\com\bumptech\glide\integration\okhttp'

I'm trying to figure out how to determine where this is coming from, and how to debug errors like this in the future.

2

2 Answers

0
votes

Go to the Android folder using

cd android && ./gradlew app:installDebug

Go back to the main folder by

cd ..

Now run npx react-native run-android

0
votes

Ended up reverting back after a massive upgrade and then upgraded a bit more slowly. I've eliminated these errors thus far, but I haven't completed the upgrade. Will post back if I find the culprit.