Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@ramiasg

This comment has been minimized.

Show comment
Hide comment

ramiasg commented Jan 27, 2018

thanks

@js2me

This comment has been minimized.

Show comment
Hide comment
@js2me

js2me Feb 1, 2018

thank you

js2me commented Feb 1, 2018

thank you

@SaurabhGarg1

This comment has been minimized.

Show comment
Hide comment
@SaurabhGarg1

SaurabhGarg1 Feb 3, 2018

thanks. That helps

thanks. That helps

@bendonlang

This comment has been minimized.

Show comment
Hide comment

Thanks

@yxuchen

This comment has been minimized.

Show comment
Hide comment
@yxuchen

yxuchen Feb 7, 2018

well done

yxuchen commented Feb 7, 2018

well done

@shereej

This comment has been minimized.

Show comment
Hide comment
@shereej

shereej Feb 9, 2018

thank you

shereej commented Feb 9, 2018

thank you

@eladonline

This comment has been minimized.

Show comment
Hide comment
@eladonline

eladonline Feb 27, 2018

thank you !

thank you !

@elcordova

This comment has been minimized.

Show comment
Hide comment

gracias

@PetKatt

This comment has been minimized.

Show comment
Hide comment
@PetKatt

PetKatt Mar 1, 2018

Gracia Plenna!

PetKatt commented Mar 1, 2018

Gracia Plenna!

@muchamateusz

This comment has been minimized.

Show comment
Hide comment
@muchamateusz

muchamateusz Mar 8, 2018

I did everything as it says to do and after successful installing create-react-app i still can't use create-react-app apps-name.
I have no idea why :/

muchamateusz commented Mar 8, 2018

I did everything as it says to do and after successful installing create-react-app i still can't use create-react-app apps-name.
I have no idea why :/

@msaldana45

This comment has been minimized.

Show comment
Hide comment

bless.

@nyanjongandrew

This comment has been minimized.

Show comment
Hide comment

Thanks

@ms-vague

This comment has been minimized.

Show comment
Hide comment
@ms-vague

ms-vague Mar 19, 2018

Thank you.

Thank you.

@TylerSustare

This comment has been minimized.

Show comment
Hide comment
@TylerSustare

TylerSustare Mar 26, 2018

Tanks braddah

Tanks braddah

@kube23

This comment has been minimized.

Show comment
Hide comment
@kube23

kube23 Mar 27, 2018

@muchamateusz reinstalling node fixed that for me

kube23 commented Mar 27, 2018

@muchamateusz reinstalling node fixed that for me

@kyle-poretto

This comment has been minimized.

Show comment
Hide comment
@kyle-poretto

kyle-poretto Apr 7, 2018

yeah this is helpful. Awesome!

yeah this is helpful. Awesome!

@ezrqnkemboi

This comment has been minimized.

Show comment
Hide comment
@ezrqnkemboi

ezrqnkemboi Apr 16, 2018

Thanks so much. This has been helpful.

Thanks so much. This has been helpful.

@Narvey

This comment has been minimized.

Show comment
Hide comment
@Narvey

Narvey Apr 18, 2018

why was this created as a secret gist?

Narvey commented Apr 18, 2018

why was this created as a secret gist?

@princecharming519

This comment has been minimized.

Show comment
Hide comment
@princecharming519

princecharming519 May 25, 2018

Well done, but I want to know about npx in detail.
Hope to see you soon.
Thx.

Well done, but I want to know about npx in detail.
Hope to see you soon.
Thx.

@Suil3File

This comment has been minimized.

Show comment
Hide comment

Nice

@gautam-patadiya

This comment has been minimized.

Show comment
Hide comment

Thanks!

@rymo90

This comment has been minimized.

Show comment
Hide comment
@rymo90

rymo90 Jun 9, 2018

thanks !

rymo90 commented Jun 9, 2018

thanks !

@sulemankhan447

This comment has been minimized.

Show comment
Hide comment
@sulemankhan447

sulemankhan447 Jun 10, 2018

screenshot 730
why it doesnt create this react folder in desktop instead it creates to some another folder

screenshot 730
why it doesnt create this react folder in desktop instead it creates to some another folder

@moinadnan-vteams

This comment has been minimized.

Show comment
Hide comment

Appreciated :)

@Iwi4a

This comment has been minimized.

Show comment
Hide comment
@Iwi4a

Iwi4a Jul 12, 2018

Мерси!

Iwi4a commented Jul 12, 2018

Мерси!

@ClarkLusm

This comment has been minimized.

Show comment
Hide comment

Thanks!!!

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