Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

677
Views
npm warn and npm start issues

I recently started coding again and I've got some issues regarding React/NodeJS (don't know which one is responsible for that)

So first things first, I installed VSCode, all clean, no errors no nothing. Then I installed NodeJS. Now I'm just trying to create a React project for my own. I didn't install React at all as it seems it came by default after installing NodeJS. Now comes the ugly stuff. Whenever I use the "npx create-react-app something-name" I get the following:

$ npx create-react-app demo
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

I also get some audit errors/vulnerabilities but maybe they are not so important as they get fixed after I use "audit fix --force".

So let's say that we just want to start the project. I use cd something-name and npm start and I get this:

$ npm start

> demo@0.1.0 start
> react-scripts start

The system cannot find the path specified.
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'D:\react-scripts\bin\react-scripts.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

If anybody could help me remove those warnings from NPM and also let me know what should I do in order to start my project would be highly appreciated!

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Hello there sir here are some possible fixes according to a previous question Error: Cannot find module '\react-scripts\bin\react-scripts.js'

  1. Check your package.json file in your project folder

  2. delete node_modules, and package.lock.json reinstall them by

npm install 
  1. Check if your project path has a special character which is "&" just remove it

  2. Try running a production build

//makes the production build
npm build 
// runs the production build
npm run build
  1. Finally try reinstalling node js on your system that could be the issue aswell

https://nodejs.org/en/

about 4 years ago · Juan Pablo Isaza Report

0

check your node version and make sure is updated.

  1. remove the node-modules ()
  2. npm install
  3. npm start
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!