question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React Native is not building since metro 0.24.5 has been released

See original GitHub issue

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:

  • “react-native”: “0.52.0”
  • “react”: “16.2.0”

Let me know if you need any more details.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
rafecacommented, Jan 19, 2018

Version v0.24.6 published! Thanks for reporting it so fast 😄

3reactions
rafecacommented, Jan 19, 2018

Thanks for reporting! I’m looking into it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - React Native
If you added React Native manually to your project, make sure you have included all the relevant dependencies that you are using, like...
Read more >
What is the meaning of 'No bundle URL present' in react-native?
It usually means that your metro bundler is not running, some people run that in their own terminals or on the standard computer...
Read more >
React Native Tutorial for Beginners - Build a React Native App
React Native Tutorial for Beginners - Learn to build an amazing React Native app for iOS & Android. Get the full...
Read more >
Troubleshooting | React Navigation
Sometimes it might even be due to a corrupt installation. If clearing cache didn't work, try deleting your node_modules folder and run npm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found