1. 程式人生 > >vue-cli創建項目報錯"ChromeDriver binary is unavailable"

vue-cli創建項目報錯"ChromeDriver binary is unavailable"

ins 圖片 http 項目 ext rom htm nav vue

在使用vue init webpack -g demo時產生了一個錯誤,導致創建項目失敗:

"Current existing ChromeDriver binary is unavailable, proceding with download and
extraction."

技術分享圖片

我的解決辦法:

1.去官網下載當前chromedriver_win32.zip (2.46版本)的壓縮包,地址http://chromedriver.storage.googleapis.com/index.html ,然後解壓放在vue所給出提示的目錄中.

2.cd到之前所創建的目錄中: cd vue-demo01

3.執行npm install就可以完成創建了.

vue-cli創建項目報錯"ChromeDriver binary is unavailable"