Fix phantomjs can't be downloaded in China when npm install

估计好多同学通过 npm 安装 phantomjs 都会很郁闷, 因为会去 bitbucket 或者 github 下载 phantomjs 二进制包.

$ PHANTOMJS_CDNURL=https://npm.taobao.org/dist/phantomjs npm install phantomjs --registry=https://registry.npm.taobao.org --no-proxy

你可能感兴趣的:(Fix phantomjs can't be downloaded in China when npm install)