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
  • Select an option

  • Save tamlylyi/dc4aaa8ba1971635a320f1bee48c2673 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown
Author
<script src="https://gist.github.com/tamlylyi/dc4aaa8ba1971635a320f1bee48c2673.js"></script>

@tamlylyi

Copy link
Copy Markdown
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