Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

931
Vistas
npm install -g @sanity/cli npm ERR! code EPERM npm ERR! syscall mkdir npm ERR! path C:\Program Files\Git\usr\local npm ERR! errno -4048
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path C:\Program Files\Git\usr\local
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\Git\usr\local'
npm ERR!  [Error: EPERM: operation not permitted, mkdir 'C:\Program Files\Git\usr\local'] {
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: 'C:\\Program Files\\Git\\usr\\local'
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.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Razor\AppData\Local\npm-cache\_logs\2022-05-02T11_23_07_449Z-debug.log

1

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This line looks very odd: npm ERR! path C:\Program Files\Git\usr\local.

Did you perhaps run npm config set prefix /usr/local at some point? It looks like npm is failing on the mkdir command and that this is more of a permissions or configuration issue than a Sanity/Javascript/Express one.

You could try following the instructions of this answer or—if that doesn't work—the cache clean comment here.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda