Do not force to use `yarn`
See original GitHub issueAllow users to run the command rather than forcing 😃
I think people can type npm i
or yarn
after doing create-react-native-app myApp
My main concern is due to I want to use pnpm which is fast & saves a lotta disk space than both npm
& yarn
😉
As a guy doing a lotta projects in react-native
I don’t think I need to waste space for more node_modules
😜
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
How to Force Use Yarn or NPM - freeCodeCamp
In this short post, I'm going to show you how to prevent the usage of npm or yarn, depending on your needs. This...
Read more >Force yarn install instead of npm install for Node module?
In my case, I needed to work around an issue where one of the packages installed but had bugs under yarn so I...
Read more >How To Force Use Yarn Or NPM - Neutron Dev
In this short post, I'm going to show you how to prevent the usage of npm or yarn, depending on your needs.
Read more >Is there a good way to force developers to use yarn instead of ...
However, I'd want to ensure everyone on my team is using yarn commands over npm. Yes, I can tell everyone to use yarn...
Read more >How to force package installs to use yarn not npm
This is my solution. If you add a "preinstall" script to your package.json it is run before any install by npm or yarn....
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
I forgot about this commit 😉 https://github.com/react-community/create-react-native-app/commit/1609cef0b5e4429631516b3edbed43248e32aab4
you can specify
--package-manager
when runningcreate-react-native-app
if you want! will cut a release with this shortly@vjpr Got busy with other things so couldn’t send a PR. Still I tried using
pnpm
withreact-native init
& it doesn’t work because of this issue so I don’t know if its worth the trouble yet. I’m currently usingnpm
&yarn
bcz sometimespnpm
has issues as it isn’t matured yet for some of my usecases. I have filed an issue there so if it works out. I’ll make sure to send a PR.