question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Do not force to use `yarn`

See original GitHub issue

Allow 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:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
brentvatnecommented, Jul 24, 2017

I forgot about this commit 😉 https://github.com/react-community/create-react-native-app/commit/1609cef0b5e4429631516b3edbed43248e32aab4

you can specify --package-manager when running create-react-native-app if you want! will cut a release with this shortly

0reactions
deadcoder0904commented, Jan 26, 2018

@vjpr Got busy with other things so couldn’t send a PR. Still I tried using pnpm with react-native init & it doesn’t work because of this issue so I don’t know if its worth the trouble yet. I’m currently using npm & yarn bcz sometimes pnpm 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found