Closed
Description
Vue packages version mismatch:
- vue@2.0.5
- vue-template-compiler@2.0.6
This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader or vueify, re-installing them should bump vue-template-compiler to the latest.
In our project, we use exact dependencies:
"vue": "2.0.5",
"vue-loader": "9.7.0",
Since vue-loader
uses caret ranges for vue-template-compiler
...
"vue-template-compiler": "^2.0.5",
...when our Jenkins CI job runs npm install
, the latest version of vue-template-compiler
will get installed and will mismatch our vue
version, causing random build failures whenever vue-template-compiler
is upgraded.
A workaround suggested here vuejs/vue#3941 is to re-install vue-loader
. We would rather work with exact versions of our dependencies and choose on our own when to upgrade.
To make matters more difficult, we can't use shrinkwrap in our repository due to npm/npm#2679.
Can vue
or vue-loader
address this case somehow?
Metadata
Metadata
Assignees
Labels
No labels