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

npx create-react-app my-app stuck after installing packages

Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template... yarn add v1.22.10 [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@1.2.13: The platform "win32" is…
-1
votes
1 answer

installing npm to create react app using node

I am trying to create a react app but i get stuck here can not find the way. kindly help me.
-1
votes
1 answer

React App Cannot find module '@/client/context/RepContext' , Failed to compile

I have existing React Web application. i have run npm i and npm start when i run the application in browser. i am getting this error Any idea
-1
votes
1 answer

my server is no conncting.its shown error

First I install, npx create-react-app amazon-clone then I want to start. so I type npm start but I get an error. my JSON file adds below. { "name": "amazon-clone", "version": "0.1.0", "private": true, "dependencies": { …
meet vaghsiya
  • 200
  • 12
-1
votes
1 answer

My dog deleted all environment variables PATH's in Win 10, now "npm start" doesn't work

Everything was working perfectly fine with "npx create-react-app" and "npm start", until I didn't install Python and my dog delete all env. vars. PATH's in win 10, and set: C:\Python38-32\Scripts\ C:\Python38-32 C:\Python38-32\airline later I…
Reaction
  • 3
  • 6
-1
votes
1 answer

public and source folders don't come in create-react-app

react-app the command it won't work and it won't create the Public and the Source folder that is weird. I've tried many times and even with yarn it still won't work! Please tell me why this is happening thanks
Nikil
  • 1
  • 1
-1
votes
1 answer

I cannot install react How can I fix this?

I am new to react. I am trying to install react with create-react-app. I have installed node.js and npm. It has been 40 minutes, nothing is happening. I have tried to do install it again but showing me the same thing.
Gagandeep
  • 83
  • 2
  • 18
-1
votes
2 answers

Ran into issue during create-react-app install

I'm trying to learn how to use React and I'm having an issue with create-react-app: https://create-react-app.dev/docs/getting-started/ I ran into issues during the installation I was using npx create-react-app my-app cd my-app npm start as…
Qube
  • 13
  • 1
  • 5
-2
votes
1 answer

How to create a react native app with javascript reactnative 0.72

In new release they change the default language to ts, so when you run npx react-native init AwesomeProject you get a ts project. I want to have a javascript project. How can I get a javascript project by using react-native init command?
Kaan Ateşel
  • 363
  • 3
  • 10
-2
votes
1 answer

I am facing the issue below while creating a React app

PS F:\Programming Tutorials Videos\R Practice> npx create-react-app custom-hook npm ERR! code ENOTFOUND npm ERR! syscall getaddrinfo npm ERR! errno ENOTFOUND npm ERR! network request to https://registry.npmjs.org/create-react-app failed, reason:…
-2
votes
2 answers

How to fix this npx create-next-app errror

When i create next app by using npx create-next-app@latest --typescript it shows me below error npm ERR! code ENETUNREACH npm ERR! syscall connect npm ERR! errno ENETUNREACH npm ERR! request to https://registry.npmjs.org/create-next-app failed,…
-2
votes
1 answer

Using NPX to Create a Project

With the following commands I can create the following projects: npx create-react-app: a react project. npx create-next-app: a next.js project. npx create-strapi-app: a strapi project. I am wondering, how can I create my own project that with my…
Moshe
  • 6,011
  • 16
  • 60
  • 112
-2
votes
1 answer

How to fix create-react-app not found in cmd error?

I tried many ways but it is coming the same always Any way how to fix it?
-2
votes
1 answer

How to solve Failed to compile error when running npm run dev?

Failed to compile. [1] [1] ./src/index.js [1] Module not found: Can't resolve '.components/App' in 'C:\Users\Adam\Desktop\ChatBot\client\src'` I'm receiving this result when I run ...npm run dev Please help me to solve this problem.
-3
votes
2 answers

I got a problem installing bundler when trying create my new react native project am using Mac OS high sierra

and this was my terminal output ✔ Downloading template ✔ Copying template ✔ Processing template ✖ Installing Bundler error ✖ Installing Bundler error Error: Looks like your iOS environment is not properly set. Please go to…
ben
  • 1
  • 1
1 2 3
53
54