Ray Hao

Results 9 comments of Ray Hao

> node_modules中的文件与package-lock.json和本机node版本以及系统密切相关,切换node版本或者系统都可能导致其不可用,且依赖包体积过大,没什么必要放在GitHub中 收到,今晚回去整理下,因为之前有人环境安装依赖时github有问题,所以放在gitee上的,后同步更新到github上了

![image](https://user-images.githubusercontent.com/12759477/112716236-1d67cf00-8f20-11eb-87b1-1a1315132612.png)

验证最新版本没问题,可以提供下node和pnpm版本 ![image](https://github.com/user-attachments/assets/3e8d51eb-0b81-4350-9185-b252dbb89382)

@liuyunchuan 目前 github 和这个相关的 issue 基本是 open 状态。 我看群里有人解决是 pnpm 残留了 vue 2.7 ,所以尝试清理 pnpm 的缓存或者卸载 pnpm 看看。 当前只是建议,目前我这边没有机器能够复现这个问题。有进展还希望告知下,感谢!

@liuyunchuan 升级 unplugin-icons 版本到 v0.19.0试试 https://github.com/unplugin/unplugin-icons/releases/tag/v0.19.0 ![image](https://github.com/youlaitech/vue3-element-admin/assets/12759477/018192c3-62b0-40bb-8fb3-d24d4bc1b77f)

@liuyunchuan 很奇怪 , 我的机器无论 unplugin-icons 0.19.0 还是 旧版的 0.18.5 ,解析 vue-template-compiler 依赖时都没显示,所以问题应该还是出现在 unplugin-icons 组件上 - unplugin-icon 0.18.5 ![image](https://github.com/youlaitech/vue3-element-admin/assets/12759477/db0d4454-12f4-4714-bf13-5413dae2b481) - unplugin-icon 0.19.0 ![image](https://github.com/youlaitech/vue3-element-admin/assets/12759477/1683d32b-ecb8-42f6-8d15-ccd8d42af1a9)

@liuyunchuan 试着移除 unplugin-icons 组件看下情况 ![image](https://github.com/youlaitech/vue3-element-admin/assets/12759477/5d9e75ed-6a7b-4ddd-9416-6304de21e9d9)

@liuyunchuan 这又是另一个错误了,也是比较少见,都被你碰到了。wins 这台机器你试着打开自动导入组件重新生成 ![image](https://github.com/youlaitech/vue3-element-admin/assets/12759477/673bb352-e3df-4e96-bb39-41241468becf)

可以了重新看下,线上权限缓存被覆盖了 ![image](https://github.com/youlaitech/vue3-element-admin/assets/12759477/af8b725b-4f91-4463-8922-9b8b8307dc07)