vben-admin-thin-next
vben-admin-thin-next copied to clipboard
安装依赖问题
⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.
- [ ] Read the docs.
- [ ] Make sure the code is up to date. (Some bugs have been fixed in the latest code)
- [ ] This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
Describe the bug
感觉是依赖自己勇到的包有问题。
最开始拉的精简版本的包,vben2.7.0的版本,线上部署一段时间,本地打包也是正常,但是一段时间后线上部署出现问题,报错题图如下:
删除自己本地的依赖包重新安装就出错了,后面看了issue大概就是升级到2.8.0后就可以解决安装依赖的问题,但是我升级到2.8.0后又依然出现了类似错误:(每次出现的错误都是途中圈出的包内命令出错如gifsicle这个处理图片的包)
Reproduction
2.7.0精简版本的包,删除node_modules,重新安装依赖
System Info
- Operating System: window10
- Node version: 16.13.0
- Package manager (npm/yarn/pnpm) and version: npm 8.1.0
使用pnpm安装依赖,可以正常安装,构建阶段 存在下图问题(本地build成功)