How to install pull request package?

0

I'm trying to install a package npm ng2-table , but with a pull request that is not yet merge in master . Home Is there any way I can add this pull request to my package.json , so that it installs this commit rather than the master of the repository?

    
asked by anonymous 09.11.2017 / 20:00

1 answer

0

To solve this problem, just take the following steps:

  
  • Go to the fork repository, in my case it was this
  •   
  • Click to download and the Download ZIP button, right-click and copy the link;
  •   
  • No package.json , replace the location where the link is located;
  •   
  • Replace .zip with .tar.gz
  •   

    This was the case that worked for me, another alternative I saw was to delete .zip and replace archive of url with tarball .

        
    10.11.2017 / 19:48