Skip to content

Instantly share code, notes, and snippets.

@edm00se
Last active June 27, 2019 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edm00se/9e2753c2cf6a1fb8686d91e7aef8ba64 to your computer and use it in GitHub Desktop.
Save edm00se/9e2753c2cf6a1fb8686d91e7aef8ba64 to your computer and use it in GitHub Desktop.
for re-setting https when npm install is dumb and removes https
# 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