Error: Cannot find module 'metro/src/DeltaBundler/Worker'
See original GitHub issueWhen I run the react-native start
I am getting this error message.
I cleaned up all cache and removed node_modules/
these donβt work.
Can anyone help me, please?
My versions are.
react-native -v
react-native-cli: 1.2.0
react-native: 0.57.3
All code block as below;
react-native start --reset-cache
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β Running Metro Bundler on port 8081. β
β β
β Keep Metro running while developing on any JS projects. Feel free to β
β close this tab and run your own Metro instance if you prefer. β
β β
β https://github.com/facebook/react-native β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Looking for JS files in
/Users/m/p/my-project
warning: the transform cache was reset.
Loading dependency graph, done.
Loading dependency graph...(node:26114) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot find module 'metro/src/DeltaBundler/Worker'
(node:26114) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:18
Top Results From Across the Web
React Native Notes 13: Error: Cannot find module 'metro/src ...
βError: Cannot find module 'metro/src/DeltaBundler/Worker'β. appears on my terminal. Fortunately, the solution is so simple but again RN gives us an error ......
Read more >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 >iOS : React Native Error Cannot find module 'metro-config/src ...
iOS : React Native Error Cannot find module ' metro -config/ src /defaults/blacklist' [ Beautify Your ComputerΒ ...
Read more >Failed to construct transformer: Error: Cannot find module 'vue ...
Failed to construct transformer: Error: Cannot find module 'vue-native-scripts' ... Logs for your project will appear below. Press Ctrl+C to exit.
Read more >while trying to resolve module `@react-native/normalize-color`
We need tell MetroJS bundler to compile .ts and .tsx files i solved this error by edit metro.config.js file in root project folder...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@soranoba didnβt work for me either. @aafarian I think thereβs an issue with the version of metro packaged with the latest RN Upgrade. I just installed locally in dev metro
npm install --save-dev metro
, which is the version 0.51.1, and that worked for me.FYI: I also encountered the same issue, but I solved it.