vue-cli ,webpack構建項目報錯信息:vue
> chromedriver@2.34.1 install G:\NodeTest\simu800-wechat-admin\node_modules\chro
medriver
> node install.jsnode
Downloading https://chromedriver.storage.googleapis.com/2.34/chromedriver_win32.
zip
Saving to C:\Users\lidf\AppData\Local\Temp\chromedriver\chromedriver_win32.zip
ChromeDriver installation failed Error with http(s) request: Error: read ECONNRE
SET
npm WARN rollback Rolling back node-pre-gyp@0.6.39 failed (this is probably harm
less): EPERM: operation not permitted, rmdir 'G:\NodeTest\simu800-wechat-admin\n
ode_modules\fsevents\node_modules'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fse
vents):webpack
網上說是被牆了:web
可使用下面的命令安裝:chrome
npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
使用 cnpm 安裝亦可。vue-cli