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

256
Visualizações
React app does not display changes on save; duplicated the same issue I had on another pc after removing NVM, node, Ubuntu and reinstalling them

I'm running Nvm version 0.39.1, node version 16.13.1(npm v8.1.2). I've been running into this issue for months now where my React page wouldn't display the new changes every time I save the file. I've tried every possible solution to get it to work which includes: -adding CHOKIDAR_USEPOLLING=true to a .env file as well as the scripts in packgage.json -adding Fast_REFRESH=false to a .env file as as the scripts in package.json -Even verified that I have the max number of watches via fs.inotify.max_user_watches=524288 or something along the lines like that as I've searched online numerous times. My watches were already set to 524288 in the first place so I didn't know where else to fiddle.

Now, I was able to duplicate this same issue on my laptop. I tried to set up a "clean slate" so to speak, and removed node (npm), my VScode app, as well as my nvm. Please understand that I'm not a seasoned programmer and at most times I do know what the commands actually do. With that, I should tell you my steps included: -sudo rm -rf $NVM_DIR ~/.npm ~/.bower -sudo rm -rf /usr/local/bin/node

And proceeded to delete vscode and all of its contents using this guide https://debug.to/1074/how-to-uninstall-vs-code-completely, and lastly, I deleted Ubuntu. Alas, after feeling like I am free from apps and libraries that were involved in my learning to code, I reinstalled everything starting Ubuntu and downloading nvm using curl: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash and installing node via nvm like so: nvm install --lts.

Note that I'm just working on a base React App template using the npx create-react-app my-app provided by the React docs online. npm start would work fine, however now when I expect my files to display changes on my localhost page when I save my file it doesn't anymore. Have I deleted something very important? Or are there conflicting leftover files?

about 4 years ago · Juan Pablo Isaza
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