Windows & Android: react native server crashes very often

后端 未结 7 1372
滥情空心
滥情空心 2021-02-01 16:21
 ERROR  EPERM: operation not permitted, lstat \'...\\.idea\\workspace.xml___jb_old___\'
{\"errno\":-4048,\"code\":\"EPERM\",\"syscall\":\"lstat\",\"path\":\"...\\.idea\\         


        
7条回答
  •  孤城傲影
    2021-02-01 16:33

    Basically it looks like windows bug on react packager. When you disable Hot Reloading, it should be stopped. If not, can you try "npm cache clean" before run "react-native run-android", please? Also you can try to run on administrator. If these are not working, maybe it's about Antivirus app.

    Also can you add ".idea" folder to your github ignore file to try? And are you trying to run it from Webstorm (or any eclipse-based platform) directly or terminal?

提交回复
热议问题