0
Windows 10 + Android Virtual Deviceエミュレータでreact-native
を使用する。ホットリロードが有効になり、すべて正常に動作します。ネイティブパッケージャがランダムにクラッシュする、Windows 10 + android avd
コード編集のサイクルと最初のいくつかの編集のための作品を再ロード、およびいくつかの編集(編集の異なる数毎時間)後に、次のエラーメッセージでパッケージャクラッシュ:
[Hot Module Replacement] Sending HMR update to client (14:45:24:193)
[Hot Module Replacement] Sending HMR update to client (14:45:24:195)
[Hot Module Replacement] Client connected
[2:45:25 PM] <START> request:/index.android.bundle?platform=android&dev=true&hot=true&minify=false
[2:45:25 PM] <END> request:/index.android.map?platform=android&dev=true&hot=true&minify=false (2660ms)
[2:45:25 PM] <END> request:/index.android.bundle?platform=android&dev=true&hot=true&minify=false (252ms)
[Hot Module Replacement] Client connected
ERROR EPERM: operation not permitted, lstat 'c:\dev\music\index.android.js___jb_old___'
{"errno":-4048,"code":"EPERM","syscall":"lstat","path":"c:\\dev\\music\\index.android.js___jb_old___"}
Error: EPERM: operation not permitted, lstat 'c:\dev\music\index.android.js___jb_old___'
at Error (native)
See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
Press any key to continue . . .
いくつかの詳細についてプロジェクト:
- OS:Windowsの10
- のAndroid SDK Managerのリビジョン25.1.7
- 仮想デバイスは、まったく同じように構成しますhttps://facebook.github.io/react-native/img/react-native-android-studio-avd-windows.png
- アドバイス
cmd
からreact-native run android
を使用してパッケージャを実行しています。