vue vscode 开始

E:Html4 Vue版>npm config set registry https://registry.npm.taobao.org

E:Html4 Vue版>npm i

> chromedriver@2.30.1 install E:Html4 Vue版
ode_moduleschromedriver
> node install.js

Downloading https://chromedriver.storage.googleapis.com/2.30/chromedriver_win32.zip
Saving to C:UsersWISEAppDataLocalTempchromedriverchromedriver_win32.zip
Received 781K...
Received 1568K...
Received 2352K...
Received 3136K...
Received 3901K total.
Extracting zip contents
Copying to target path E:Html4 Vue版
ode_moduleschromedriverlibchromedriver
Done. ChromeDriver binary available at E:Html4 Vue版
ode_moduleschromedriverlibchromedriverchromedriver.exe

> phantomjs-prebuilt@2.1.14 install E:Html4 Vue版
ode_modulesphantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip
Saving to C:UsersWISEAppDataLocalTempphantomjsphantomjs-2.1.1-windows.zip
Receiving...

Error making request.
Error: connect ETIMEDOUT 52.216.32.56:443
    at Object.exports._errnoException (util.js:1022:11)
    at exports._exceptionWithHostPort (util.js:1045:20)

E:Html4 Vue版>npm run dev

> my-work@1.0.0 dev E:Html4 Vue版
> node build/dev-server.js

[HPM] Proxy created: /token  ->  http://114.55.101.69:8017/api
[HPM] Proxy created: /api  ->  http://192.168.2.131:9805
> Starting dev server...


 DONE  Compiled successfully in 31116ms                                                                                            13:42:15


> Listening at http://localhost:3000



原文地址:https://www.cnblogs.com/MartinLee/p/7622570.html