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

2.3K
Views
Angular no se pudo instalar en el sistema local - npm ERR! código ERR_SOCKET_TIMEOUT

Instalé con éxito Node y AngularCLI en mi sistema local. Y todo estaba bien. Tengo:

 Angular CLI: 13.1.1 Node: 16.13.1 Package Manager: npm 8.1.2 OS: win32 x64 Angular: ... Package Version ------------------------------------------------------ @angular-devkit/architect 0.1301.1 (cli-only) @angular-devkit/core 13.1.1 (cli-only) @angular-devkit/schematics 13.1.1 (cli-only) @schematics/angular 13.1.1 (cli-only)

Sin embargo, cuando intento instalar el proyecto Angular con ng new myproject, aparece este error:

 - Installing packages (npm)...npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash. npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'C:\\Users\\BAMI\\Desktop\\MyApp\\APP-UI\\node_modules', npm WARN cleanup [Error: EPERM: operation not permitted, unlink 'C:\Users\BAMI\Desktop\MyApp\APP-UI\node_modules\sass\sass.dart.js'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'unlink', npm WARN cleanup path: 'C:\\Users\\BAMI\\Desktop\\MyApp\\APP-UI\\node_modules\\sass\\sass.dart.js' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup 'C:\\Users\\BAMI\\Desktop\\MyApp\\APP-UI\\node_modules\\less', npm WARN cleanup [Error: EPERM: operation not permitted, unlink 'C:\Users\BAMI\Desktop\MyApp\APP-UI\node_modules\less\lib\less\environment\abstract-plugin-loader.js'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'unlink', npm WARN cleanup path: 'C:\\Users\\BAMI\\Desktop\\MyApp\\APP-UI\\node_modules\\less\\lib\\less\\environment\\abstract-plugin-loader.js' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! network Socket timeout npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'

Estoy haciendo la instalación en mi sistema local, sin ningún tipo de seguridad.

Hice:

borrar caché npm --force

El problema sigue ahí.

¿Cómo soluciono esto?

Gracias

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

use este comando para actualizar globalmente su npm

 npm install -g npm
over 4 years ago · Santiago Trujillo Report

0

Revisa estos pasos:

  • prueba tu conexión, parece que también hay un problema
  • destruye tu carpeta node_modules
  • reinstale su npm globalmente
  • instalar de nuevo
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!