Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
You00 opened this issue Jun 2, 2022 · 1 comment
Closed

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

You00 opened this issue Jun 2, 2022 · 1 comment

Comments

@You00
Copy link

You00 commented Jun 2, 2022

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 You00 changed the title mac系统node版本17,uniapp vue3.0 + vite版本vuex编译报错 MAC OS Node 17, Uniapp (Vue3.0 + Vite) vuex compilation error Jun 17, 2022
@yyx990803
Copy link
Member

Should be fixed by 397e9fb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants