問題の原因を突き止めている。反応ネイティブrun-androidに失敗するエラーウォッチ
npm start
でサーバーを起動します。コードをデプロイして、react-native run-android
の物理デバイスにadbを戻します。
サーバーで次のエラーが発生します。可能な修正は何ですか?どんな解決策も高く評価されています。
ERROR watch /home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/fbjs-scripts/node_modules/gulp-util/node_modules/dateformat/node_modules/meow/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/path-type/node_modules/pify ENOSPC
{"code":"ENOSPC","errno":"ENOSPC","syscall":"watch /home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/fbjs-scripts/node_modules/gulp-util/node_modules/dateformat/node_modules/meow/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/path-type/node_modules/pify","filename":"/home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/fbjs-scripts/node_modules/gulp-util/node_modules/dateformat/node_modules/meow/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/path-type/node_modules/pify"}
Error: watch /home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/fbjs-scripts/node_modules/gulp-util/node_modules/dateformat/node_modules/meow/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/path-type/node_modules/pify ENOSPC
at exports._errnoException (util.js:870:11)
at FSWatcher.start (fs.js:1234:19)
at Object.fs.watch (fs.js:1262:11)
at NodeWatcher.watchdir (/home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/sane/src/node_watcher.js:144:20)
at Walker.<anonymous> (/home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/sane/src/node_watcher.js:353:12)
at emitTwo (events.js:87:13)
at Walker.emit (events.js:172:7)
at /home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/sane/node_modules/walker/lib/walker.js:69:16
at /home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/graceful-fs/graceful-fs.js:142:16
at /home/pichate/projects/react/ReactNative/ReactNative/NF/node_modules/react-native/node_modules/graceful-fs/graceful-fs.js:142:16
ソリューションを見つけましたか? –