Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Updating create-react-app usage to npx instead of npm install -g #258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

gasparsigma
Copy link

The official guide for create-react-app recommends using npx instead of npm install -g (source: https://github.com/facebook/create-react-app#creating-an-app)
The package can then be used without changing the globals, avoiding pollution in the long-term
Fallback solution for npm versions older than 5.2 provided, with links copied directly from create-react-app/README.md

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant