Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

166
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda