Windows & Android: react native server crashes very often
See original GitHub issue ERROR EPERM: operation not permitted, lstat '...\.idea\workspace.xml___jb_old___'
{"errno":-4048,"code":"EPERM","syscall":"lstat","path":"...\.idea\\workspace.xml___jb_old___"}
Error: EPERM: operation not permitted, lstat 'app\.idea\workspace.xml___jb_old___'
at Error (native)
After that I should again do:
npm start
How to resolve this quite annoying problem? Thanks
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:77 (6 by maintainers)
Top Results From Across the Web
Windows & Android: react native server crashes very often
Solution: How to fix the file permissions, after loading end react-native start. First, Go to android folder. cd android.
Read more >Windows & Android: react native server crashes very often – iTecNote
I think it's the problem of 'save write', I am using Webstorm, uncheck "File->Settings->System Settings->sychronization->use safe write" to see if it helps you....
Read more >Expo app crashes when attempting to write a new record with ...
Just to follow up, I created a new Realm Expo React Native app with the template and ran it without modifying. It crashes...
Read more >React Native Crash Course | Build a Complete App - YouTube
js, which allows you to build real native mobile apps for both iOS and Android. No prior React Native experience is required, only...
Read more >Troubleshoot known issues with Android Emulator
Check for adequate disk space · Antivirus software · HAXM on unsupported versions of macOS · Android Emulator runs slowly after an update...
Read more >
Top Related Medium Post
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ericnakagawa I think this issue should be reopened
For the record:
lstat
error was almost always on my.git/index.lock
) by defininggetBlacklistRE
in myrn-cli.config.js
but it didn’t help either.The only temporarily workaround I found was to change behavior of react cli on exceptions. Open
node_modules/react-native/local-cli/server/server.js
findprocess.on('uncaughtException',
line and commentprocess.exit(1);
at the end to completely disable quit on exception.