vuejs / vuex

🗃️ Centralized State Management for Vue.js.
https://vuex.vuejs.org
MIT License
28.42k stars 9.58k forks source link

mac系统 node版本17,uniapp vue3.0 + vite 版本 vuex编译报错 #2177

Closed You00 closed 2 years ago

You00 commented 2 years ago

版本:4.0.2 重现步骤:uni-app(vue3/vite版本)使用vuex,启动项目 期望:项目正常启动 实际结果:报错:[vite] [plugin:vite:import-analysis] Package subpath './dist/vuex.esm-bundler.js' is not defined by "exports" in /uni-app-vue3.0/node_modules/vuex/package.json 补充意见:针对这个问题,目前是说动更改vuex依赖的package.json文件(./改成./*) 以上,希望官方可以解决一下

vue-bot commented 2 years ago

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!


你好,你的 issue 不符合我们所要求的格式,因此已被自动关闭。为了确保每个 issue 都提供必需的相关信息,请务必使用我们的 Issue 向导 来创建新 issue,谢谢!

123jiacheng123 commented 11 months ago

解决了吗?我这也报错这个,uni-app升级,从vue2升级到vue3时,vuex一直报错这个,