Windows & Android: react native server crashes very often

后端 未结 7 1370
滥情空心
滥情空心 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:35

    The best temporary fix I found for this was that when you do react-native run-android, look out for the React Package Manager and as soon as it opens, close it and wait until the progress of react-native run-android says BUILD SUCCEEDED and then open another cmd in the same Directory of your react-native project and do npm start. If the server crashes again or you get any error, you can just do npm start again and continue your work.

提交回复
热议问题