This dependency was not found: * vxe-table/lib/vxe-table in ./src/plugins/vxe.js

发布时间 2023-10-09 16:35:19作者: 思凡念真

今天按照往常一样安装依赖、运行后报了如下错误:

ERROR  Failed to compile with 1 errors 
This dependency was not found:
* vxe-table/lib/vxe-table in ./src/plugins/vxe.js
To install it, you can run: npm install --save vxe-table/lib/vxe-table

参考

https://github.com/x-extends/vxe-table/issues/2130
https://blog.csdn.net/LXang723/article/details/132018776

把版本前的 ^ 符号删掉了,又像往常一样,删除依赖、安装依赖、运行项目。

 

终于把项目跑起来了。

  App running at:
  - Local:   http://localhost:8080/
  - Network: http://127.0.0.1:8080/

  Note that the development build is not optimized.
  To create a production build, run npm run build.