Skip to content

Node Js 16.20.0 is not supporting Vue-cli version ~4.5.19 #7400

@aishwarya603

Description

@aishwarya603

I am trying to upgrade Vue Js Project from Node 14.18.1 to Node 16.20.0. But NPM Install is throwing the below error.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: eslint@7.32.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^7.29.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">= 1.6.0 < 7.0.0" from @vue/cli-plugin-eslint@4.5.19
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR! dev @vue/cli-plugin-eslint@"~4.5.19" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!

I see eslint 7.29.0 is supports Node V10+ in its documentation(https://www.npmjs.com/package/eslint/v/7.29.0). I would like to understand Is there any reason for the above error. Please help.

My Node Version: 16.20.0
NPM Version: 9.6.7
Machine Windows
"vue": "^3.1.0",
"@vue/cli-service": "~4.5.19"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions