vuex icon indicating copy to clipboard operation
vuex copied to clipboard

MAC OS Node 17, Uniapp (Vue3.0 + Vite) vuex compilation error

Open You00 opened this issue 3 years ago • 0 comments

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

You00 avatar Jun 02 '22 08:06 You00