Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

686
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda