vuejs / vuex

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

vuex.esm-bundler.js is missing in the dist folder #2228

Open ronskie69 opened 1 year ago

ronskie69 commented 1 year ago

Version

2.6.14

Describe the bug

I have an issue with vuex store. I downgraded my vuex version from 4 to 3 since I am currently in Vue 2. Here's the error I encountered,

Compiled with problems:

ERROR in ./node_modules/vuex/dist/vuex.esm-bundler.js

Module build failed (from ./node_modules/babel-loader/lib/index.js):

Error: ENOENT: no such file or directory, open 'C:\Users\MIS-### NOGS\Documents\todolister\client\node_modules\vuex\dist\vuex.esm-bundler.js'

Reproduction

Try to download version 2.6.14 of Vue and 3.6.2 of Vue X.

Expected behavior

I expect that it will work since I have followed the instructions in the official website.

Additional context

No response

Validations