Since version 0.24.5 has been released we have been unable to run our react-native project on iOS and Android:
BUNDLE [android, dev] ./index.android.js โโโโโโโโโโโโโโโโ 0.0% (0/1), failed.
error: bundling failed: Error: invalid value for dynamic deps behavior: `null`
at getDynamicDepsBehavior (/Users/user/Documents/app/applications/apps/product-mobile/node_modules/metro/src/JSTransformer/worker/index.js:185:13)
at postTransform (/Users/user/Documents/app/applications/apps/product-mobile/node_modules/metro/src/JSTransformer/worker/index.js:131:26)
at Object.transformCode [as transform] (/Users/user/Documents/app/applications/apps/product-mobile/node_modules/metro/src/JSTransformer/worker/index.js:251:17)
at execMethod (/Users/user/Documents/app/applications/apps/product-mobile/node_modules/jest-worker/build/child.js:92:29)
at process.on (/Users/user/Documents/app/applications/apps/product-mobile/node_modules/jest-worker/build/child.js:42:7)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)
at process.nextTick (internal/child_process.js:755:12)
at _combinedTickCallback (internal/process/next_tick.js:95:7)
We reverted back to 0.24.4 and the app bundled as expected.
Environment:
Let me know if you need any more details.
Thanks for reporting! I'm looking into it
I am having the same issue. Thanks for the quick response!
Sorry folks! This has been caused because we added a new config parameter to allow dynamic requires. But this new param is not handled by RN v0.52 and makes metro fail.
I'm going to publish a v0.24.6 version to fix that asap
Version v0.24.6 published! Thanks for reporting it so fast ๐
Thank you, I found the right time, I was having this error since yesterday.
I had a similar error with 0.24.7. Moving back to 0.24.6 fixed it.
Metro Bundler ready.
Loading dependency graph...
BUNDLE [android, dev] ./index.js โโโโโโโโโโโโโโโโ 0.0% (0/1)
BUNDLE [android, dev] ./index.js โโโโโโโโโโโโโโโโ 0.0% (0/1)
i get this and the emulator screen shows nothing but "Loading from 10.0.2.2:8081" and nothing else...what do i do???

@Harish-Hk delete the app from your simulator, run git clean -xfd (this removed all .gitignore files) from your project root before running your project again.
I've had this problem in the past and cleaning the project / simulator has fixed it for me!
I'm still seeing this issue. None of the solutions above helped.
Running Mojave 10.14, Xcode 10, React Native 0.57.3


ENOENT: no such file or directory, scandir '/Users/sukhwindersingh/iCloud Drive (Archive)/Documents/Project/assets'
Failed building JavaScript bundle.
this is the error i am getting please help me out here.
earlier i was able ti run my same project but all of a sudden it stopped working.
https://www.heypasteit.com/clip/0IT7NR๏ปฟ
this is my code for firebase authentication
used: firebase react-navigation native-base

Hello everybody, I am a total beginner in React-native. I am facing this issue now , I stuck at BUNDLE [android, dev] ./index.js โโโโโโโโโโโโโโโโ 0.0% (0/1) on window , and the emulator just keep on displaying loading from 10.0.2.2:8081... without displaying any thing . Please help me with this problem. I get stuck for one week already

Most helpful comment
Version v0.24.6 published! Thanks for reporting it so fast ๐