Open openks opened 7 years ago
npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
npm config set PHANTOMJS_CDNURL http://npm.taobao.org/mirrors/phantomjs -g
npm config set CHROMEDRIVER_CDNURL http://npm.taobao.org/mirrors/chromedriver -g
也可以直接从本地读取数据,相关配置信息如下
# .npmrc
# chrome-driver
chromedriver_filepath=D:\Users\Public\static\chromedriver_win32.zip
# node-sass 可以从https://npm.taobao.org/mirrors/node-sass下载也可以从同事机器上复制
SASS_BINARY_PATH=D:\Users\Public\static\win32-x64-57_binding.node