0
I’m looking to install an npm package ng2-table, but with a pull request that is not yet merged into master.
Is there any way I can add this pull request to my package.json, so that it installs this commit instead of the repository master?
0
I’m looking to install an npm package ng2-table, but with a pull request that is not yet merged into master.
Is there any way I can add this pull request to my package.json, so that it installs this commit instead of the repository master?
0
To solve this problem, just take the following steps:
- Go to the Fork repository, in my case it was that
- Click to download and the button
Download ZIP, right click and copy the link;- In the
package.json, replace the location where the version is located with the link;- Replace . zip with .tar.gz
That was the case that worked for me, another alternative I saw was to erase the .zip and replace the archive of the url by tarball.
Browser other questions tagged git github npm
You are not signed in. Login or sign up in order to post.
You did the implementation on a branch of a Fork of yours, correct? You already tried: npm install git://github.com/meurepo.git#minhabranch --save ?
– Tom Melo
It wasn’t a Request of mine. I got a pull request in the repository of the component I’m using, in this case.
– Felipe Avelar