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

180
Visualizações
npx create-react-app my-app giving me the following error after installing new version of NodeJS?

I installed a new version of NodeJS after that I'm trying to create-react-app and on running the command npx create-react-app my-app is giving me the following error:

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS E:\ALL ABOUT React\Jonas Projects\Jonass Project Practice\myproject> npm -v          
8.1.0
PS E:\ALL ABOUT React\Jonas Projects\Jonass Project Practice\myproject> node -v
    v16.13.0
PS E:\ALL ABOUT React\Jonas Projects\Jonass Project Practice\myproject> npx create-react-app my-app
npm ERR! code EPERM  
npm ERR! syscall open
npm ERR! path C:\Users\Firstname~1\AppData\Roaming\npm-cache\_cacache\tmp\724ab6af
npm ERR! errno EPERM
npm ERR! FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/create-react-app: EPERM: operation not permitted, open 'C:\Users\Firstname~1\AppData\Roaming\npm-cache\_cacache\tmp\724ab6af'
npm ERR!     at C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\body.js:162:15
npm ERR!     at async C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\index.js:106:12
npm ERR!     at async Promise.all (index 0)
npm ERR!     at async exec (C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\index.js:94:17)      
npm ERR!  FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/create-react-app: EPERM: 
    operation not permitted, open 'C:\Users\Firstname~1\AppData\Roaming\npm-cache\_cacache\tmp\724ab6af'
npm ERR!     at C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\body.js:162:15
npm ERR!     at async C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\index.js:106:12
npm ERR!     at async Promise.all (index 0)
npm ERR!     at async exec (C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\index.js:94:17) {    
npm ERR!   code: 'EPERM',
npm ERR!   errno: 'EPERM',
npm ERR!   syscall: 'open',
npm ERR!   path: 'C:\\Users\\Firstname~1\\AppData\\Roaming\\npm-cache\\_cacache\\tmp\\724ab6af',
npm ERR!   type: 'system'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
PS E:\ALL ABOUT React\Jonas Projects\Jonass Project Practice\myproject>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Try this one:

npx create-react-app my-app

instead of:

npx-create-react-app my-app

project name should not be capitalize or such symbol like dash(-)

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