This repository has been archived by the owner on Dec 6, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 255
vue dependency version mismatch #192
Comments
It only happens if you have vue as a dependency in project package.json and you bump its version. If you run into this error and you can hard reset your repo after removing vue from your package.json dependencies $ rm -rf node_modules
$ rm package-lock.json
$ npm install to fix the error. |
If you want to use your own version of Vue, you need to install both |
Got it. Thanks. |
Yeah, I might add a more detailed error message to the CLI output when this error occurs. |
Looks good imo. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Breaks with following error
If the current behavior is a bug, please provide the steps to reproduce.
Add latest version Vue as dependency and run script dev.
What is the expected behavior?
automatically fix version mismatch or disallow local npm dependency (always use vue version from poi's package.json)
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, Poi version and Operating System.
poi v9.0.2, node v8.1.1, npm v5
The text was updated successfully, but these errors were encountered: