Questions tagged [npx]

npx is a npm package runner that executes a (e.g. npm package binaries) either from a local `node_modules/.bin`, or from a central cache, installing any packages needed to run the .

npx is a npm package runner that executes <command> (e.g. npm package binaries) either from a local node_modules/.bin, or from a central cache, installing any packages needed to run the <command>.

npx was introduced with npm@5.2.0 as a tool intended to help round out the experience of using packages from the npm registry. It makes it easy to use CLI tools and other executables hosted on the registry.

Further Links:

796 questions
-1
votes
1 answer

When I install create-react-app , I get a 'network Socket timeout' error

$ npx create-react-app amazon-clone npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. Creating a new React app in D:\js\faceboom. npm WARN config global `--global`, `--local` are deprecated. Use…
-1
votes
1 answer

Why is my npx create-react-app ./ not working?

npm WARN config global --global, --local are deprecated. Use --location=global instead.
-1
votes
1 answer

Unable to run npm command "Error: Command failed: npm run start"

I am trying to run a npx command on my M1 MacBook but I keep getting the same error. I already installed node.js and npm so that I could run this command: npx @mondaydotcomorg/monday-cli scaffold run ./ quickstart-react However, when I run this…
mpp
  • 308
  • 1
  • 14
-1
votes
2 answers

npx create-react-app doesn't work anymore after I installed yarn (even after uninstalling yarn)

Everything was working perfect, I even had it going earlier. All I am trying to do is create a react app. I used the command npx create-react-app and everything worked. I decided to try yarn instead of npm, that made everything not work. After…
Nimai
  • 1
  • 1
-1
votes
1 answer

Update to reactive 18.1.0

I try create a react-app with npx create-native init project but the react version was 17.0.2. I used npm install react react-dom( following https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html) to update for the new version but now I…
-1
votes
1 answer

React : How to create app after forgetting to quit last session (npx create-react-app my-react-app)

What shall I do if I forgot to quit the last session and have to start a new react app
-1
votes
1 answer

npx create-react-app fails with error "cannot find module block-stream

$ npx create-react-app counter node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'block-stream' Require…
-1
votes
1 answer

Tutorial on reacts.org trying to set up a new project

i want to create a new project locally following the instruction on: https://reactjs.org/tutorial/tutorial.html#setup-option-2-local-development-environment ---> where it says run --> npx create-react-app my app i tried doing that but i get Error…
-1
votes
1 answer

Create-react-app not working even after uninstalling and reinstalling

I've been having difficulties getting create-react-app to work on my mac. I created a new project and simply tried "npx create-react-app my-app" and it told me that my version of create-react-app was outdated and to uninstall it with "npm uninstall…
-1
votes
4 answers

npx-create-react-app my-app command ERROR in Vs Code

npx : The term 'npx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + npx…
Utkarsh Hadgekar
  • 19
  • 1
  • 1
  • 2
-1
votes
1 answer

I have been trying to create a react app but I always experience this problem

Whenever I try running the npx and npm commands they always return this error: 'CALL "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external…
-1
votes
1 answer

npx start, npx install npx init is not working

I have been working with react for years using NPX and yarn and I just got assign to built an app with react-native using react native-cli so i tried setting up my environment using the react native docs and some YouTube videos. But after following…
The Newbie
  • 11
  • 8
-1
votes
1 answer

npx install error for create react folder

i type this npx code npx create-react-app movie-app-2020 then show this error Installing template dependencies using npm... npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.16.0 requires a peer of @babel/core@^7.13.0 but…
-1
votes
1 answer

Create react app didn't working with no errors just timeout

Node version is v17.0.0 i tried many Node versions lts and more.... I've been waiting for a few minutes but it still not working my opinion is it is not a network problem Because i reseted my wifi router but it still not working.... and I reset my…
-1
votes
3 answers

Is there a way to get npx to create a React app on my computer?

I am totally new to React and Node.js although I have written software in a variety of languages and have created web applications using Cold Fusion. I am using Windows 10 Home Edition 64 bit. I purchased Robin Wieruch's book and followed the…
WarrenH
  • 1
  • 1