Created
April 1, 2016 07:54
-
-
Save belmer/92f9627971c21d5d0a555e155c6402f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sometimes there are modules that you created or you forked from other developer and you modify it to fit your needs. | |
I was on same exat scenario. The steps below will guide you on how to install modules in your application using link from github. | |
*Steps | |
1. Login to your github account | |
2. Go to your module repository | |
3. On your repository page there should be a button "Download ZIP". | |
--- Note: Others suggested that you can just copy the "https" or "ssh" link and do "npm install git+<https/ssh link>". | |
However this does not worked for me. Going back to "Download ZIP" button. Right click it and "Copy Link Address" (Im using chrome browser by the way). | |
4. Before you do an npm install make sure you change some parts of your link. | |
5. The copied link that you have should have a ".zip" extension, remove it. Also, in your link change "archive" to "tarball". | |
6. Once step 5 is done. You can now do "npm install <paste your modified link here>. | |
7. Your done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment