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

762
Views
npm WARN enoent ENOENT: no existe tal archivo o directorio, abra 'C:\Users\Nuwanst\package.json'

Solo quiero instalar socket.io en mi proyecto que se encuentra en la carpeta 3.chat. Pero cuando ejecuto el siguiente comando, muestra las siguientes advertencias. Y no se creó un directorio node_modules dentro de mi carpeta de proyecto. ¿Cómo arreglar esto?

 C:\Users\Nuwanst\Documents\NodeJS\3.chat>npm install socket.io C:\Users\Nuwanst `-- socket.io@2.0.3 npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Nuwanst\package.json' npm WARN Nuwanst No description npm WARN Nuwanst No repository field. npm WARN Nuwanst No README data npm WARN Nuwanst No license field.
over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Si ya tiene el archivo package-lock.json , simplemente elimínelo y vuelva a intentarlo.

over 4 years ago · Santiago Trujillo Report

0

¿Ha creado un archivo package.json ? Tal vez ejecute este comando primero nuevamente.

C:\Users\Nuwanst\Documents\NodeJS\3.chat>npm init

Crea un archivo package.json en su carpeta.

Entonces corre,

C:\Users\Nuwanst\Documents\NodeJS\3.chat>npm install socket.io --save

--save garantiza que su módulo se guarde como una dependencia en su archivo package.json .

Hazme saber si esto funciona.

over 4 years ago · Santiago Trujillo Report

0

Asegúrese de estar en el directorio correcto donde tiene paquete.json

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!