★ wanayoo — archive 1999 https://github.com/microsoft/TypeScript-React-Starter/pull/258Nouvelle recherche | Portail wanayoo
Skip to content
This repository has been archived by the owner. 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
from

Conversation

@gasparsigma
Copy link

@gasparsigma gasparsigma commented Feb 13, 2019

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.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.