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

642
Views
Actualice los paquetes instalados de npm - npm ERR! código EINVALIDPACKAGENAME

Estoy tratando de actualizar mis módulos de nodo globalmente. estoy usando este comando

 sudo npm update -g

pero producirá este error en la terminal

 npm ERR! code EINVALIDPACKAGENAME npm ERR! Invalid package name ".DS_Store": name cannot start with a period npm ERR! A complete log of this run can be found in: npm ERR! /Users/dev/.npm/_logs/2021-04-24T15_59_25_014Z-debug.log

Creo que el comando escaneará la carpeta y encontrará el archivo macOS .DS_Store .

¿Cómo puedo arreglar esto?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

para mí hacer esto resuelve mi problema:

 find /usr/local/lib/node_modules/ -name '.DS_Store' -type f -delete

Busca todo .DS_Store y lo elimina en la carpeta global node_modules (en Mac)

over 4 years ago · Santiago Trujillo Report

0

Puedes probar este,

 sudo npm install --global npm

creo que esto te va a funcionar

over 4 years ago · Santiago Trujillo 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!