FatFreeButter
Dependency error using npm init solid@latest
And following the same strategy, if I replace
"vinxi": "^0.4.3",
with "vinxi": "^0.5.3",
and re-run npm install
, then I get
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: example-with-authjs@undefined
npm error Found: @auth/[email protected]
npm error node_modules/@auth/core
npm error @auth/core@"0.37.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @auth/core@"^0.37.3" from @solid-mediakit/[email protected]
npm error node_modules/@solid-mediakit/auth
npm error @solid-mediakit/auth@"^3.1.2" 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.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: example-with-authjs@undefined
npm error Found: @auth/[email protected]
npm error node_modules/@auth/core
npm error @auth/core@"0.37.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @auth/core@"^0.37.3" from @solid-mediakit/[email protected]
npm error node_modules/@solid-mediakit/auth
npm error @solid-mediakit/auth@"^3.1.2" 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.
17 replies
Dependency error using npm init solid@latest
If I do that by replacing
"vite": "^5.1.6"
with "vite": "5.4.10"
, and then re-run npm install
, then I get
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: example-with-authjs@undefined
npm error Found: [email protected]
npm error node_modules/vinxi
npm error vinxi@"^0.4.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vinxi@"^0.5.3" from @solidjs/[email protected]
npm error node_modules/@solidjs/start
npm error @solidjs/start@"^1.0.11" 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.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: example-with-authjs@undefined
npm error Found: [email protected]
npm error node_modules/vinxi
npm error vinxi@"^0.4.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vinxi@"^0.5.3" from @solidjs/[email protected]
npm error node_modules/@solidjs/start
npm error @solidjs/start@"^1.0.11" 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.
17 replies
Dependency error using npm init solid@latest
3) delete the override
4)
npm install
error:
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: example-with-authjs@undefined
npm error Found: [email protected]
npm error node_modules/vinxi
npm error vinxi@"^0.4.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vinxi@"^0.5.3" from @solidjs/[email protected]
npm error node_modules/@solidjs/start
npm error @solidjs/start@"^1.0.11" 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.
npm error
npm error
npm error For a full report see:
npm error /Users/redacted/.npm/_logs/2025-02-11T05_04_06_036Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/redacted/.npm/_logs/2025-02-11T05_04_06_036Z-debug-0.log
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: example-with-authjs@undefined
npm error Found: [email protected]
npm error node_modules/vinxi
npm error vinxi@"^0.4.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vinxi@"^0.5.3" from @solidjs/[email protected]
npm error node_modules/@solidjs/start
npm error @solidjs/start@"^1.0.11" 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.
npm error
npm error
npm error For a full report see:
npm error /Users/redacted/.npm/_logs/2025-02-11T05_04_06_036Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/redacted/.npm/_logs/2025-02-11T05_04_06_036Z-debug-0.log
17 replies
Dependency error using npm init solid@latest
Here is an example of an error that I have gotten
Repro:
1)
package.json
npm init solid@latest
2) npm install
error:
npm error code EOVERRIDE
npm error Override for vite@^5.1.6 conflicts with direct dependency
npm error A complete log of this run can be found in: /Users/redacted/.npm/_logs/2025-02-11T05_00_43_078Z-debug-0.log
npm error code EOVERRIDE
npm error Override for vite@^5.1.6 conflicts with direct dependency
npm error A complete log of this run can be found in: /Users/redacted/.npm/_logs/2025-02-11T05_00_43_078Z-debug-0.log
{
"name": "example-with-authjs",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"lint": "eslint --fix \"**/*.{ts,tsx,js,jsx}\""
},
"type": "module",
"devDependencies": {
"@types/node": "^20.11.26",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^8.56.0",
"eslint-plugin-solid": "^0.14.3",
"typescript": "^5.6.2",
"vite": "^5.1.6"
},
"dependencies": {
"@solidjs/router": "^0.15.1",
"@solidjs/start": "^1.0.11",
"solid-js": "^1.9.2",
"vinxi": "^0.4.3",
"@solidjs/meta": "^0.29.4",
"zod": "^3.22.4",
"@auth/core": "0.37.0",
"@solid-mediakit/auth": "^3.1.2",
"postcss": "^8.4.40",
"autoprefixer": "^10.4.19",
"tailwindcss": "^3.4.7"
},
"overrides": {
"vite": "5.4.10"
},
"engines": {
"node": ">=16"
}
}
{
"name": "example-with-authjs",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"lint": "eslint --fix \"**/*.{ts,tsx,js,jsx}\""
},
"type": "module",
"devDependencies": {
"@types/node": "^20.11.26",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^8.56.0",
"eslint-plugin-solid": "^0.14.3",
"typescript": "^5.6.2",
"vite": "^5.1.6"
},
"dependencies": {
"@solidjs/router": "^0.15.1",
"@solidjs/start": "^1.0.11",
"solid-js": "^1.9.2",
"vinxi": "^0.4.3",
"@solidjs/meta": "^0.29.4",
"zod": "^3.22.4",
"@auth/core": "0.37.0",
"@solid-mediakit/auth": "^3.1.2",
"postcss": "^8.4.40",
"autoprefixer": "^10.4.19",
"tailwindcss": "^3.4.7"
},
"overrides": {
"vite": "5.4.10"
},
"engines": {
"node": ">=16"
}
}
17 replies