运行vue npm install 遇到的错误及解决方法

错误1:一直停滞在sill pacote range manifest for hmac-drbg@^1.0.0 fetched的解决方法chrome

1.先执行npm config set registry  https://registry.npm.taobao.orgnpm

2.再次执行npm installfetch

 

错误2:ERR! Failed at the chromedriver@2.46.0 install script.url

1.npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedrivercdn