Hi,
I am new to this world. I install Node JS, from cmd when i type node -v i get v12.18.3 and npm -v i get 6.14.6
When i type npx create-react-app test
it starts loading but it stops in the middle as shown below but i am not getting happy hacking
Hi,
I am new to this world. I install Node JS, from cmd when i type node -v i get v12.18.3 and npm -v i get 6.14.6
When i type npx create-react-app test
it starts loading but it stops in the middle as shown below but i am not getting happy hacking
For further actions, you may consider blocking this person and/or reporting abuse
Yogesh Chavan -
Michael Otu -
Karan Kumar Gautam -
Emma Richardson -
Top comments (6)
You need to install the react app generator i.e. npm i -g create-react-app. Once that goes through, the npx command should work.
"npx" is a special feature of NPM 6 that allows the execution of packages without requiring you to first globally install the package.
See this example in the npx documentation
npmjs.com/package/npx#one-off-invo...
Hi Daniel,
I did install the npm globally as npm install create-react-app -g then when i try create-react-app my-app it is not working when i try npm create-react-app my-app it did installed but it stops in the middle
You can help us help you by showing us the error snippet
PS C:\myfirstapp> create-react-app myfirstapp
create-react-app : File C:\Users\MY PC\AppData\Roaming\npm\create-react-app.ps1 cannot be loaded because running
scripts is disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
Above is the error i am getting when i try to create a app without npx
Run the command prompt as admin and try again