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编译报错 #2176

Closed You00 closed 2 years ago

You00 commented 2 years ago

问题描述 vue3/vite版本,启动编译报错,[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

系统信息:

发行平台: [H5平台] 操作系统 [macOS 12.0] uni-app版本 [vue3/vite]

临时解决方案:自己手动更改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,谢谢!