Open tamsler opened 2 years ago
We're going to need more steps to reproduce. What are the contents of your package.json
?
Here are the dependencies:
"dependencies": {
"@mdi/font": "6.9.96",
"jwt-decode": "^3.1.2",
"pinia": "2.0.17",
"roboto-fontface": "*",
"vue": "3.2.37",
"vue-router": "4.1.3",
"vuetify": "^3.0.0-beta.5",
"webfontloader": "1.6.28"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.1.4",
"@types/jsdom": "^16.2.14",
"@types/node": "^16.11.41",
"@types/webfontloader": "^1.0.0",
"@vitejs/plugin-vue": "^2.3.3",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/test-utils": "^2.0.2",
"@vue/tsconfig": "^0.1.3",
"cypress": "^10.3.0",
"eslint": "^8.19.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-vue": "^9.2.0",
"jsdom": "^20.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"start-server-and-test": "^1.14.0",
"typescript": "~4.7.4",
"vite": "^2.9.14",
"vite-plugin-vuetify": "^1.0.0-alpha.12",
"vitest": "^0.18.1",
"vue-cli-plugin-vuetify": "~2.5.1",
"vue-tsc": "^0.38.5"
}
I'll make a quick PR to fix this edge case, but once fixed ...
❯ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: vuetify@"^3.0.0-beta.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vuetify@"^3.0.0-beta.4" 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! See /Users/fritzy/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/fritzy/.npm/_logs/2022-07-27T21_46_00_351Z-debug-0.log
I got the same error trying to install a new dependency, running npm from Apt on Ubuntu 22.04.4:
npm i '@mikro-orm/migrations-mongodb'
just had a similar issue, i tried running npm i -D @vitest/ui
.
possibly related? https://github.com/vitest-dev/vitest/issues/6111
➜ next-axiom git:(main) ✗ npm i @vitest/ui
npm error Cannot read properties of null (reading 'explain')
npm error A complete log of this run can be found in: /Users/luna/.npm/_logs/2024-08-08T03_43_24_046Z-debug-0.log
➜ next-axiom git:(main) ✗ npm install -D vitest @vitest/ui
added 26 packages, and changed 23 packages in 10s
➜ next-axiom git:(main) ✗ npm i @vitest/ui
up to date in 7s
➜ next-axiom git:(main) ✗
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm install causes following error:
Expected Behavior
Install packages defined in package.json
Steps To Reproduce
Download repo cd into repo npm install
Environment
node bin location = /usr/local/bin/node ; node version = v16.16.0 ; npm local prefix = /Users/tpa/src/cb-app-www ; npm version = 8.15.0