question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 7 years ago
  • Reactions:7
  • Comments:77 (6 by maintainers)

github_iconTop GitHub Comments

26reactions
user471commented, Jan 23, 2017

@ericnakagawa I think this issue should be reopened

21reactions
Rmaancommented, Sep 21, 2016

For the record:

  • I tried Watchman on Windows without success (It bundles nothing(!) and app won’t run. As stated in this ticket https://github.com/facebook/react-native/issues/7022).
  • Then tried to disable inspection of my git files (lstat error was almost always on my .git/index.lock) by defining getBlacklistRE in my rn-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 find process.on('uncaughtException', line and comment process.exit(1); at the end to completely disable quit on exception.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found