Comments (3)
check your .yarnrc.yml
file
it should contain nodeLinker: node-modules
eg.
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.6.4.cjs
from cli.
Hey @elite-mob, you should be using nodeLinker: node-modules
, btw if you're running npx react-native@latest init abc
it automatically bumps Yarn version per project so you don't need to run it manually before.
(nodeLinker: node-modules
is a crucial option because React Native doesn't support PnP system, which is enabled by default for modern Yarn versions).
from cli.
Thanks @marelix2 @szymonrybczak - it resolved my issue.
from cli.
Related Issues (20)
- error index.js: Cannot read properties of undefined (reading 'match'). HOT 1
- How do you set mode with 'react-native start'? HOT 3
- Error on fresh projects in Lauching app in the emulator, RN -v 0.73 - Starting: intent HOT 3
- sdk version problem HOT 1
- Something is trying to use the devDependency 'metro-config' when building a production release build HOT 4
- Fail to download yarn if there is expired GITHUB_TOKEN HOT 4
- Android SDK: Not Found HOT 1
- Project initialization hangs HOT 5
- Getting Error While initialization react native app in ubuntu HOT 13
- Undeclared identifer in OnLoad.cpp.o HOT 11
- Able to build ios app but unable to get build settings to deplou HOT 6
- Handle prompts in `init` command HOT 1
- React Native Build Failed After update build.gradle compileSdkVersion=34
- Read main activity from manifest not correctly handling activities with "missing" intent nodes HOT 3
- How to fix CompileC normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Pods-urbex' from project 'Pods') failure in react-native ios HOT 2
- Experimental debugger support for custom hostnames HOT 2
- AndroidManifest.xml intent-filter error HOT 3
- please Help me I can't fix this error HOT 3
- Build Failed HOT 5
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 cli.