'how to force npx use yarn instead of npm?
I was trying to create react app with npx and it used to automatically use yarn but for some reason, it's using npm now...
I passed the --use-yarn flag but wasn't a success
My PC is running in Ubuntu 20.04.3 LTS
Node: 16.13.2 LTS
npm: 8.3.2
yarn: 1.22.17
Solution 1:[1]
Try this:
yarn create react-app my-app
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Timo |
