Skip to content

Instantly share code, notes, and snippets.

@tamlylyi
Forked from gaearon/instructions.md
Last active September 28, 2019 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamlylyi/dc4aaa8ba1971635a320f1bee48c2673 to your computer and use it in GitHub Desktop.
Save tamlylyi/dc4aaa8ba1971635a320f1bee48c2673 to your computer and use it in GitHub Desktop.
Creating a new project with npm <= 5.2
<script src="https://gist.github.com/tamlylyi/dc4aaa8ba1971635a320f1bee48c2673.js"></script>
@tamlylyi

If you use npm 5.1 or earlier, you can't use npx. Instead, install create-react-app globally:

npm install -g create-react-app

Now you can run:

create-react-app my-app
@tamlylyi
Copy link
Author

<script src="https://gist.github.com/tamlylyi/dc4aaa8ba1971635a320f1bee48c2673.js"></script>

@tamlylyi
Copy link
Author

<script src = "https://gist.github.com/tamlylyi/dc4aaa8ba1971635a320f1bee48c2673.js">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment