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

165
Views
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 answers
Answer question

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 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!