vuex
vuex copied to clipboard
MAC OS Node 17, Uniapp (Vue3.0 + Vite) vuex compilation error
Version
4.0.2
Reproduction link
Steps to reproduce
Uni-app (VUE3 / Vite version) starts the project using vuex
What is expected?
The project can start normally
What is actually happening?
error:[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
For this problem, the package.json file that vuex relies on is currently manually changed (./ to./*); Hopefully the authorities can fix it