react-native bundling failed: Error: Cannot find module /metro-react-native-babel-transformer/src/index.js

Sayamrat Kaewta

I've tried to upgrade react-native version from 0.59.8 to 0.60.5 using rn-diff-purge https://react-native-community.github.io/upgrade-helper/?from=0.59.8&to=0.60.5

Then I got

error: bundling failed: Error: Cannot find module '/myapp/node_modules/@react-native-community/cli/node_modules/metro-react-native-babel-transformer/src/index.js

when running react-native run-ios

How to fix this bundling issues?

Sayamrat Kaewta

After finding/researching the solution for days. Finally, I've found the solution and fixed by doing this https://github.com/facebook/react-native/issues/25585#issuecomment-518357303

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

bundling failed: Error: Cannot find module 'babel-preset-react-native' from '/workspace/reactnative''

From Dev

React native babel config " Cannot find module 'babel-plugin-module-resolver' " error

From Dev

react native bundling failed: Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3"

From Javascript

react-native, bundling failed

From Dev

Getting this error: error: bundling failed: Error: Unable to resolve module `react-native-safe-area-context`

From Dev

Error While run react-native run-ios. Error: Cannot find module 'metro-config'

From Dev

error: bundling failed: Error: Unable to resolve module `react-native-vector-icons/Feather`

From Dev

React Native: bundling failed - Unable to resolve module `AccessibilityInfo`

From Dev

Error: Bundling failed - While trying to resolve module 'react-native-firebase'

From Dev

React Native running in emulator gives bundling failed: permission denied error

From Dev

react-native-git-upgrade Error: Cannot find module 'AccessibilityInfo'

From Dev

yarn run ios - Error: Cannot find module - React Native

From Dev

Uncaught Error: Cannot find module './recipes' in React Native

From Dev

React Native "Cannot find module 'react-native'" Problem

From Dev

Cannot find module 'setupDevtools' React-Native

From Dev

Cannot find module 'react-native-elements'

From Dev

react-native : cannot find module 'npmlog'

From Dev

Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module 'babel-preset-react'

From Dev

bundling error on react native app (ambigous resolution)

From Dev

React Native with Typescript and Jest is broken after 0.57 Update: Couldn't find preset "module:metro-react-native-babel-preset" relative to directory

From Dev

React native android error: cannot find symbol

From Dev

Error: Failed to load parser 'babel-eslint' declared in '.eslintrc': Cannot find module 'babel-eslint' in create-react-app

From Dev

UnhandledPromiseRejectionWarning: Error: Cannot find module '/MyProject/node_modules/react-native-scripts/build/scripts/init.js'

From Dev

React native init error cannot find module-> node_modules\react-native\package.json'

From Dev

bundling failed: SyntaxError: Unexpected end of JSON input in react native

From Dev

react native transform - error couldn't find preset "babel-preset-react-native-stage-0

From Dev

Error: Cannot find module 'babel-preset-react' - If you want to resolve "react", use "module:react"

From Dev

React Native Ios: Native Module cannot be null

From Dev

React Native cannot resolve babel plugin

Related Related

  1. 1

    bundling failed: Error: Cannot find module 'babel-preset-react-native' from '/workspace/reactnative''

  2. 2

    React native babel config " Cannot find module 'babel-plugin-module-resolver' " error

  3. 3

    react native bundling failed: Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3"

  4. 4

    react-native, bundling failed

  5. 5

    Getting this error: error: bundling failed: Error: Unable to resolve module `react-native-safe-area-context`

  6. 6

    Error While run react-native run-ios. Error: Cannot find module 'metro-config'

  7. 7

    error: bundling failed: Error: Unable to resolve module `react-native-vector-icons/Feather`

  8. 8

    React Native: bundling failed - Unable to resolve module `AccessibilityInfo`

  9. 9

    Error: Bundling failed - While trying to resolve module 'react-native-firebase'

  10. 10

    React Native running in emulator gives bundling failed: permission denied error

  11. 11

    react-native-git-upgrade Error: Cannot find module 'AccessibilityInfo'

  12. 12

    yarn run ios - Error: Cannot find module - React Native

  13. 13

    Uncaught Error: Cannot find module './recipes' in React Native

  14. 14

    React Native "Cannot find module 'react-native'" Problem

  15. 15

    Cannot find module 'setupDevtools' React-Native

  16. 16

    Cannot find module 'react-native-elements'

  17. 17

    react-native : cannot find module 'npmlog'

  18. 18

    Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module 'babel-preset-react'

  19. 19

    bundling error on react native app (ambigous resolution)

  20. 20

    React Native with Typescript and Jest is broken after 0.57 Update: Couldn't find preset "module:metro-react-native-babel-preset" relative to directory

  21. 21

    React native android error: cannot find symbol

  22. 22

    Error: Failed to load parser 'babel-eslint' declared in '.eslintrc': Cannot find module 'babel-eslint' in create-react-app

  23. 23

    UnhandledPromiseRejectionWarning: Error: Cannot find module '/MyProject/node_modules/react-native-scripts/build/scripts/init.js'

  24. 24

    React native init error cannot find module-> node_modules\react-native\package.json'

  25. 25

    bundling failed: SyntaxError: Unexpected end of JSON input in react native

  26. 26

    react native transform - error couldn't find preset "babel-preset-react-native-stage-0

  27. 27

    Error: Cannot find module 'babel-preset-react' - If you want to resolve "react", use "module:react"

  28. 28

    React Native Ios: Native Module cannot be null

  29. 29

    React Native cannot resolve babel plugin

HotTag

Archive