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

623
Vistas
how to fix node code autocompletion aren't enabled in vscode ( with npmjs installed )

I'm facing an issue with VScode and NodeJS with the code autocompletion

I did a bit of reserch on this topic and i found this stackoverflow post, I'm facing the similar issue mentioned in that post.

when I type console or any vanilla JavaScript code, VScode detect it and try's to suggest an autocomplete code.

but when I write NodeJS server side JavaScript code VScode aren't detecting it.

I've tried the solutions for that post, and here the output.

npm is installed globally

VScode --version 1.64.0

NodeJS --version 14.16.0

V8 -v 9.1.269.39

OS Windows 10

1 - run npm init to create package.json. It creates package.json but VScode didn't recognize it as a node code.

2 - run npm install --save-dev @types/node. Yes this works but I don't want to run this command and install mode_modules on every project, even if the project doesn't require any npm packages.

So simply my question is:

How can I install the code autocompletion globally on my system, without needing to install @types/node every time ?

about 4 years ago · Juan Pablo Isaza
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