Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装依赖问题 #52

Open
3 tasks
chenNoway opened this issue Jan 13, 2022 · 1 comment
Open
3 tasks

安装依赖问题 #52

chenNoway opened this issue Jan 13, 2022 · 1 comment

Comments

@chenNoway
Copy link

⚠️ 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的版本,线上部署一段时间,本地打包也是正常,但是一段时间后线上部署出现问题,报错题图如下:
image
删除自己本地的依赖包重新安装就出错了,后面看了issue大概就是升级到2.8.0后就可以解决安装依赖的问题,但是我升级到2.8.0后又依然出现了类似错误:(每次出现的错误都是途中圈出的包内命令出错如gifsicle这个处理图片的包)
image

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
@chenNoway
Copy link
Author

使用pnpm安装依赖,可以正常安装,构建阶段 存在下图问题(本地build成功)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant