Last active
June 27, 2019 20:03
-
-
Save edm00se/9e2753c2cf6a1fb8686d91e7aef8ba64 to your computer and use it in GitHub Desktop.
for re-setting https when npm install is dumb and removes https
This file contains hidden or 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
# for re-setting https when npm install is dumb and removes https | |
# explainshell: https://www.explainshell.com/explain?cmd=sed+-i+-e+%27s%2Fhttp%3A%5C%2F%5C%2F%2Fhttps%3A%5C%2F%5C%2F%2Fg%27+package-lock.json | |
sed -i -e 's/http:\/\//https:\/\//g' package-lock.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment