Skip to content

Instantly share code, notes, and snippets.

@gaearon
Created January 8, 2018 17:02
Show Gist options
  • Select an option

  • Save gaearon/4064d3c23a77c74a3614c498a8bb1c5f to your computer and use it in GitHub Desktop.

Select an option

Save gaearon/4064d3c23a77c74a3614c498a8bb1c5f to your computer and use it in GitHub Desktop.
Creating a new project with npm <= 5.2

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

npx create-react-app savdosotiq-ilova
cd savdosotiq-ilova
npm start

@LatoyaMarley
Copy link
Copy Markdown

Hi I use the latest version of node, npm, npx..... Before install, i use: npm uninstall -g create-react-app and after i use npx create-react-app my-app, and this is the result: kkkkk Can you help me please Thank you

@LatoyaMarley
Copy link
Copy Markdown

not working with this command please guide me
npm install -g create-react-app
create-react-app my-app
Screenshot (41)

``

__

@bypassthemall1-netizen
Copy link
Copy Markdown

<script src="https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f.js"></script>

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