Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zzzachzzz opened this issue Jan 20, 2024 · 1 comment
Open

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

zzzachzzz opened this issue Jan 20, 2024 · 1 comment

Comments

@zzzachzzz
Copy link

zzzachzzz commented Jan 20, 2024

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: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vite
npm ERR!   dev vite@"^5.0.11" from the root project
npm ERR!   peer vite@"*" from [email protected]
npm ERR!   node_modules/solid-start-aws
npm ERR!     peerOptional solid-start-aws@"*" from [email protected]
npm ERR!     node_modules/solid-start
npm ERR!       peerOptional solid-start@"^0.3.0" from [email protected]
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 [email protected]
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
Copy link
Author

Confirmed successful npm install on commit b35bd0217e41a89cf0d3a08128660b192feb2cd1

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant