Missing vuex dependency breaks builds in quasar/app@3.0.0-rc.1
See original GitHub issueDescribe the bug In quasar/app@3.0.0-rc.1 package.json, vuex is not included. This breaks the compilation with error:
App • ERROR • UI in ./src/store/index.js
Module not found: Can't resolve imported dependency "vuex"
Did you forget to install it? You can run: npm install --save vuex
Codepen/jsFiddle/Codesandbox (required) I don’t know how to simulate a npm package.json issue on Codepen. Sorry about that.
To Reproduce Steps to reproduce the behavior:
- Upgrade Quasar/app to latest release candidate - I upgraded from 3.0.0-beta.1
- Npm install to reinstall all dependencies
- Run quasar dev
Expected behavior The app compiles for dev and runs.
Screenshots Error:
My package.json
quasar/app rc package.json
Platform (please complete the following information): Quasar Version: 2.0.0-rc.1 @quasar/app Version: 3.0.0-rc.1 Quasar mode:
- SPA
- SSR
- PWA
- Electron
- Cordova
- Capacitor
- BEX
Tested on:
- SPA
- SSR
- PWA
- Electron
- Cordova
- Capacitor
- BEX
OS: Windows 10 Node: v14.17 NPM: 6.14.13 Yarn: Browsers: N.A. iOS: N.A. Android: N.A. Electron: N.A.
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
peer dependency confilct when creating projects using vue 2 ...
ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: project_name@0.1.0 npm ERR! Found: vue@2.6.12 npm ERR!
Read more >Installation - Vuex - Vue.js
You will have to clone directly from GitHub and build vuex yourself if you want to use the latest dev build. git clone...
Read more >"Cannot find module '@vue/compiler-sfc/package.json ...
The commands to get it working are: yarn add vue@next yarn add @vue/compiler-sfc -D. Note the -D to add it to the devDependencies...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
in the v3.0.0-rc.1 release a breaking change has been introduced:
@akshay-sood already did. docs are being redeployed