React Native (一)
出现
bundling failed: Error: Unable to resolve module scheduler/tracing
from F:\ReactNative\project8\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js
: Module scheduler/tracing
does not exist in the Haste module map
1.利用package.json降低reactnative版本号 fail
2.package.json中同时更改reactnative,react到适合版本
“dependencies”: {
“react”: “16.4.0”,
“react-native”: “0.56.0”,
“react-native-image-picker”: “^0.28.1”
},
参照
https://stackoverflow.com/questions/52817118/module-schedule-tracking-does-not-exist-in-the-haste-module-map