Open cvisl opened 3 years ago
Same problem, bypassed it temporarily with: https://github.com/robinvdvleuten/vuex-persistedstate/pull/374/files by updating the version in peerDependencies. I don't think that style of dependency specification supports anything other than versions with numbers? That's just a guess, I don't know npm that well. I think it has to be parseable which semver, but I don't think the style vuex is using is. https://github.com/npm/node-semver
vuex-persistedstate
version: 4.0.0-beta.1node
version: v15.2.1npm
(oryarn
) version: 7.0.8Relevant code or config
package.json
What you did:
Try to install vuex-persistedstate with a vue-cli created package.json, nothing special, with:
What happened:
npm
gave the following error:Problem description:
npm can not resolve the peer dependency
vuex@"^3.0 || ^4.0"
of vuex-persistedstate eventhough I have a vuex ^4.0 version installed.Is there a way to install it without using --force or --legacy-peer-deps?