在运行Vue项目时,报如下错误:
产生原因:因为VueX版本过高导致
解决办法如下:
第一步:
卸载已安装的vuex,安装适配版本
卸载已安装命令:npm uninstall vuex
第二步:安装低版本的:npm install vuex@3
第三步:然后重新install :npm install
最后一步:npm run dev
在运行Vue项目时,报如下错误:
产生原因:因为VueX版本过高导致
解决办法如下:
第一步:
卸载已安装的vuex,安装适配版本
卸载已安装命令:npm uninstall vuex
第二步:安装低版本的:npm install vuex@3
第三步:然后重新install :npm install
最后一步:npm run dev