Comments (4)
Hey, that's really strange, but anyway we deleted creating react-native.config.js
in #2203, so starting with 0.73.1 this issue shouldn't exist anymore.
Also, yarn isn't used by default as document stated. It can be reproduced without --template
Can you confirm that yarn --version
correctly returns a version of Yarn in the directory that you want to create project?
from cli.
Hi @szymonrybczak, I recorded reproducible video about yarn issue
Screen.Recording.2023-12-18.at.7.13.59.PM.mov
yarn v1.22.21 with [email protected] just released
from cli.
@pnthach95 okay, I looked into the code and actually in the first place we're looking for npm_config_user_agent
, and then we have fallback to Yarn 😅
cli/packages/cli/src/commands/init/init.ts
Lines 331 to 347 in 2fc5965
So probably some tool changed that env variable in your setup and that's why packages are installed with npm right now.
I'm going to update docs to reflect current change. Btw you can also pass --pm yarn
to force Yarn usage.
from cli.
Before 0.73, yarn is the default package manager. So, it's going to be fixed or it just works as intended? Is there a "changing npm_config_user_agent
to yarn
" guide?
from cli.
Related Issues (20)
- React Native Doctor is unable to detect the Android SDK in Windows 10 HOT 2
- Allow plugins to override built in commands HOT 1
- Custom port on ios does not work after `react-native` upgrade to 0.73 HOT 7
- Taking time to load after splashscreen is loaded
- Can not get my name of project when init my template HOT 8
- IDEPackageSupportUseBuiltinSCM = YES HOT 6
- Unable to produce apps 0.73.1 HOT 2
- Can't run on Android 5.1.1 HOT 4
- Error: Cannot find module 'metro-hermes-compiler' HOT 1
- The current character read is 'i' with an int value of 105
- The current character read is 'i' with an int value of 105 HOT 2
- [FEATURE]cli-tools automatically uses proxy configuration when making fetch requests, or supports passing in proxy configuration as parameters.. HOT 2
- Add support for `react-native.config.ts` HOT 1
- run-ios does not run on simulator by default, presumably because it's trying to run on my iPhone HOT 3
- Issue with Reloading React Native Application after Disconnecting from Metro HOT 3
- requireNativeComponent: "RNSScreenStackHeaderConfig" HOT 2
- npx react-native doctor cant find android sdk HOT 1
- 11.3.10 -> 12.1.1 `run-ios` `--device` argument handling regression HOT 2
- `profile-hermes` throws an error when more than one device is connected HOT 1
- Android: `run-android` fails with `Activity class {...} does not exist` HOT 10
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.