Created
August 21, 2018 18:38
-
-
Save nickboldt/fd99ff0649304297acf98d1d2aaace06 to your computer and use it in GitHub Desktop.
install phantomjs proxy workaround
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
# workaround for https://github.com/Medium/phantomjs/issues/806 ? | |
# workaround for https://github.com/Medium/phantomjs/issues/808#issuecomment-414723230 | |
export http_proxy=http://${buildContentId}+tracking:${accessToken}@${proxyServer}:${proxyPort} | |
export https_proxy=http://${buildContentId}+tracking:${accessToken}@${proxyServer}:${proxyPort} | |
mkdir -p /tmp/phantomjs/ | |
pushd /tmp/phantomjs/ | |
# previously mirrored from https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
# because proxy can't do https. in 2018. ugh. | |
wget http://download.jboss.org/jbosstools/updates/requirements/node/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
popd | |
npm install phantomjs-prebuilt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
typescrit@latest
looks like a typo to me. you sure you don't mean'typescript@latest
?