solidjs / templates

Vite + solid templates
429 stars 120 forks source link

ts-vitest - npm ERR! ERESOLVE unable to resolve dependency tree #142

Open zzzachzzz opened 5 months ago

zzzachzzz commented 5 months ago

After cloning the template with npx degit solidjs/templates/ts-vitest my-app, and running npm i:

$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: vite-template-solid@0.0.0
npm ERR! Found: vite@5.0.12
npm ERR! node_modules/vite
npm ERR!   dev vite@"^5.0.11" from the root project
npm ERR!   peer vite@"*" from solid-start-aws@0.3.10
npm ERR!   node_modules/solid-start-aws
npm ERR!     peerOptional solid-start-aws@"*" from solid-start@0.3.10
npm ERR!     node_modules/solid-start
npm ERR!       peerOptional solid-start@"^0.3.0" from solid-devtools@0.29.2
npm ERR!       node_modules/solid-devtools
npm ERR!         dev solid-devtools@"^0.29.2" from the root project
npm ERR!       8 more (solid-start-aws, solid-start-cloudflare-pages, ...)
npm ERR!   6 more (solid-start-cloudflare-pages, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional vite@"^2.2.3 || ^3.0.0 || ^4.0.0" from solid-devtools@0.29.2
npm ERR! node_modules/solid-devtools
npm ERR!   dev solid-devtools@"^0.29.2" 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!
npm ERR! For a full report see:
npm ERR! /home/zach/.npm/_logs/2024-01-20T16_03_08_652Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/zach/.npm/_logs/2024-01-20T16_03_08_652Z-debug-0.log
zzzachzzz commented 5 months ago

Confirmed successful npm install on commit b35bd0217e41a89cf0d3a08128660b192feb2cd1

npx degit solidjs/templates/ts-vitest#b35bd0217e41a89cf0d3a08128660b192feb2cd1 my-app
cd my-app
npm i