Hi, I'm trying to run a vue.js program and I get this error when run npm install
My system:
MacOs 12.7.4 Monterey
node -v22.12.0
npm -v10.9.0
@vue/cli 5.0.8
npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile
npm warn old lockfile Could not fetch metadata for vue-loader-v16@16.0.0-rc.2 vue-loader-v16: No matching version found for vue-loader-v16@16.0.0-rc.2.
npm warn old lockfile at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:215:23)
npm warn old lockfile at RegistryFetcher.manifest (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:130:54)
npm warn old lockfile at async /usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:715:24 {
npm warn old lockfile code: 'ETARGET',
npm warn old lockfile type: 'version',
npm warn old lockfile wanted: '16.0.0-rc.2',
npm warn old lockfile versions: [
npm warn old lockfile '16.0.0-beta.5',
npm warn old lockfile '16.0.0-beta.5.1',
npm warn old lockfile '16.0.0-beta.5.2',
npm warn old lockfile '16.0.0-beta.5.3',
npm warn old lockfile '16.0.0-beta.5.4'
npm warn old lockfile ],
npm warn old lockfile distTags: { latest: '16.0.0-beta.5.4' },
npm warn old lockfile defaultTag: 'latest'
npm warn old lockfile }
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: calendar_app@0.1.0
npm error Found: eslint@6.8.0
npm error node_modules/eslint
npm error dev eslint@"^6.7.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8
npm error node_modules/@vue/cli-plugin-eslint
npm error dev @vue/cli-plugin-eslint@"~5.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
Help in figuring out how to open the project.
It does not create the node_modules folder
vue-cli is installed globally
Top comments (0)