Search...
Toggle theme

Vue 2 NES Frequently Asked Questions

Common troubleshooting guides and answers for Vue 2 NES (Never-Ending Support) users, including dependency conflict resolution and package manager compatibility.

Direct Dependency Error During Installation

Q: I am getting a direct dependency error when trying to run npm install, what could be causing this?

Example error:

npm ERR! code EOVERRIDE
npm ERR! Override for vue-template-compiler@2.7.16 conflicts with direct dependency

A:

The most common cause is referencing two different versions of vue, vue-template-compiler, or vue-server-renderer in your package.json. All three of these packages should reference the same version number.

Here's an example of correct configuration:

{
  "dependencies": {
    "vue": "npm:@neverendingsupport/vue2@2.6.16"
  },
  "overrides": {
    "vue": { ".": "npm:@neverendingsupport/vue2@2.6.16" },
    "vue-template-compiler": { ".": "npm:@neverendingsupport/vue2@2.6.16-vue-template-compiler" },
    "vue-server-renderer": { ".": "npm:@neverendingsupport/vue2@2.6.16-vue-server-renderer" }
  },
  "devDependencies": {
    "vue-template-compiler": "npm:@neverendingsupport/vue2@2.6.16-vue-template-compiler",
    "vue-server-renderer": "npm:@neverendingsupport/vue2@2.6.16-vue-server-renderer"
  }
}

Package Manager Support

Q: Do you support Yarn Package Manager?

A:

While NPM is the official package manager we support, many of our customers have had success configuring their Yarn projects with NES support. Depending on your project and the version of Yarn, you may need to make adjustments accordingly.

For more information about package manager support and download methods, see our Download Methods documentation.