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

169
Vistas
Install from GitHub repo doesn't download all files

I made some changes to an NPM package by forking the GitHub repo, and now I want to install this package to my project

I used this command to install the package:

npm install --save git+https://github.com/username/githubreponame.git#branchname

It installs OO, but when I look to node_modules folder and look into the installed package, I see that not all files are installed from the GitHub repo. No JS files are installed, only License, package.json and README.md are installed, so I can't import anything from the library.

How to install all files?

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

0

As mentioned in the comment above : files in package.json , where pointing to only one folder to be installed when using npm install , so removing files from package.json solved the problem.

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