Cannot find module 'metro/src/transformer'

See original GitHub issue

when trying to run the app it returns me the error Cannot find module 'metro/src/transformer' in terminal

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
gauravprwl14commented, Jul 6, 2018

@RafaelAugustoS In Latest version of react-native(0.56.0) they have change the metro bundler dependency. can you try downgrading the react-native(0.55.2) package and reinstall the node_modules.

3reactions
gauravprwl14commented, Jul 6, 2018

@RafaelAugustoS It is because of the latest babel-preset-react-native(5.0.0) package, you have to downgrade babel-preset-react-native to 4.0.0 and try reinstalling the node_modules.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react native Cannot find module 'metro/src/reactNative ...
I just installed locally in dev metro npm install --save-dev metro , which is the version 0.51. 1, and that worked for me....
Read more >
React Native Notes 13: Error: Cannot find module 'metro/src ...
The solution is add a dev dependency as the metro one. If you already have it, just upgrade the metro dependency version 2...
Read more >
metro-transform-worker - npm
Start using metro-transform-worker in your project by running `npm i ... Add a README to your package so that users know how to...
Read more >
Configuring Metro - Meta Open Source
See the implementation of Metro's default transformer ( metro-transform-worker ) ... Defaults to metro-runtime/src/modules/asyncRequire .
Read more >
cannot find module metro-react-native-babel-transformer - 掘金
cannot find module metro -react-native-babel-transformer技术、学习、经验文章掘金开发者社区搜索结果。掘金是一个帮助开发者成长的社区,cannot find module ...
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