Jump to content

It is NOT necessary to install create-react-app to run 'npx'!


Grateful

Recommended Posts

Hi There,

I was going through the tutorial at 'https://www.w3schools.com/react/default.asp', however... I was surprised to find that it asked for create-react-app to be installed as a requirement to be able to run 'npx'! This is absolutely not true. The purpose of 'npx' is to be able to execute programs that you do not need to necessarily have installed on your machine.

So let me re-iterate... It is absolutely possible to run 'C:\Users\Your Name>npx create-react-app myfirstreact' without installing it ' C:\Users\Your Name>npm install -g create-react-app'.

Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...