Comments (3)
This looks like a Metro version mismatch - could you run yarn why metro-config
and let us know the output?
from metro.
This looks like a Metro version mismatch - could you run
yarn why metro-config
and let us know the output?
Yes, Sure
`yarn why metro-config
yarn why v1.22.19
[1/4] Why do we have the module "metro-config"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "[email protected]"
info Has been hoisted to "metro-config"
info Reasons this module exists
- Hoisted from "metro#metro-config"
- Hoisted from "react-native#@react-native#community-cli-plugin#metro-config"
info Disk size without dependencies: "108KB"
info Disk size with unique dependencies: "3.85MB"
info Disk size with transitive dependencies: "38.26MB"
info Number of shared dependencies: 141
=> Found "@react-native/metro-config#[email protected]"
info Reasons this module exists - "@react-native#metro-config" depends on it
- Hoisted from "@react-native#metro-config#metro-config#metro#metro-config"
Done in 14.27s.`
from metro.
I fix this issue with this solution:
- create a blank and new react-native-app with
npx react-native@latest init my-project
- check
package.json
file - Adapt part
devDependencies
of this file to your project and update the versions
from metro.
Related Issues (20)
- Cannot read property 'transformFile' of undefined HOT 1
- Including local packages from outside project root. Can we do better?
- [BUG] Terser mangler issue after upgrading to RN 0.74.5
- Problem during ReactNative project deployment for iOS HOT 2
- Add types for `require.context` HOT 1
- Package Exports resolution differs from Node in 2 edge cases HOT 3
- Slow bundle download(~2 mins) in dev mode by ReloadCommand(r) on iOS after RN 72 upgrade HOT 6
- Uncaught TypeError: (0 , import_toolkit.createSlice) is not a function
- [Help Wanted] Need help with the blocklist option to exclude a folder from metro build
- Metro bundle not connecting with iOS simulator in Release and Debug mode
- Metro bundle not connecting to iOS simulator in Release and Debug mode HOT 5
- Metro has encountered an error HOT 3
- Validation Warning: Unknown option... This is probably a typing mistake. Fixing it will remove this message.
- error index.js: Cannot read properties of undefined (reading 'match')
- Load raw files as text and watch for changes
- Why is the "getModules" function only available in DEV mode? HOT 7
- `require()` errors not propagated upwards to calling function HOT 2
- Metro Not Launching App on Physical iOS 17.4.1 Device
- Can not import modules with a non-literal specifier HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metro.