DEV Community

Discussion on: We no longer support global installation of Create React App

Collapse
 
loucyx profile image
Lou Cyx • Edited

Just run:

npm init react-app your-app-name
Enter fullscreen mode Exit fullscreen mode

Which is available for ages now.

Cheers!

PS: Instead of posting a video, why not put the solution here directly? After all this is a blogging platform, right?

Collapse
 
gmako6 profile image
gmako6

This doest work i draws an error

Collapse
 
loucyx profile image
Lou Cyx

Yes it works. You might be using a really old npm version, or you might have an old version of create-react-app cached so you need to add @latest:

npm init react-app@latest your-app-name
Enter fullscreen mode Exit fullscreen mode

Any project that starts with create- can be used with npm init.