The Wayback Machine - https://web.archive.org/web/20210706191224/https://github.com/topics/vue-next
Skip to content
#

vue-next

Here are 67 public repositories matching this topic...

axe-ui
jwchan1996
jwchan1996 commented Nov 24, 2020

问题

截止今日【北京时间 2020-11-25】,由于淘宝源上 vue-loader 最新稳定版本是 15.9.5,而 vue-cli 4.5 以上版本依赖于 vue-loader 16 版本,所以使用淘宝源安装时缺少 16 版本会导致安装出错。

解决办法

直接使用 npm 源安装

折中处理方法(针对网络不好的临时处理方法)

使用淘宝源安装 cnpm install

会遇到 vue-loader 16 版本的报错,单独使用 npm 源安装 vue-loader 16 版本

npm install vue-loader@^16.0.0-beta.3 --save-dev  

_单独安装成功后,本项目的 package.json 和 package-lock.json 会更改,因为这是临时解决

Improve this page

Add a description, image, and links to the vue-next topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the vue-next topic, visit your repo's landing page and select "manage topics."

Learn more