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

Failed to install kitbook #49

Open
2 tasks done
cke42 opened this issue Oct 24, 2024 · 0 comments
Open
2 tasks done

Failed to install kitbook #49

cke42 opened this issue Oct 24, 2024 · 0 comments

Comments

@cke42
Copy link

cke42 commented Oct 24, 2024

Double-Check

Kitbook version

v1.0.0-beta.31

Describe the bug

I tried install your nice looking tool into a newly created svelte project using "npm install -D kitbook" and receive the following error message:

cke:~/development/svelte/kitbookApp$ npm install -D kitbook
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/svelte
npm ERR! dev svelte@"^5.0.0" from the root project
npm ERR! peer svelte@"^4.0.0 || ^5.0.0-next.0" from @sveltejs/[email protected]
npm ERR! node_modules/@sveltejs/kit
npm ERR! dev @sveltejs/kit@"^2.0.0" from the root project
npm ERR! peer @sveltejs/kit@"^1.13.0 || ^2.0.0" from [email protected]
npm ERR! node_modules/kitbook
npm ERR! dev kitbook@"" from the root project
npm ERR! 1 more (@sveltejs/vite-plugin-svelte)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^3.55.0 || ^4.0.0" from [email protected]
npm ERR! node_modules/kitbook
npm ERR! dev kitbook@"
" 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!

Reproduction

$> npx sv create kitbookApp
--> Welcome to the Svelte CLI! (v0.5.7)
◇ Which template would you like? --> SvelteKit demo
◇ Add type checking with Typescript? --> Yes, using Typescript syntax
◆ Project created
◇ What would you like to add to your project? --> prettier, vitest, playwright
◇ Which package manager do you want to install dependencies with? --> npm
◆ Successfully setup integrations
◇ Successfully installed dependencies
◇ Successfully formatted modified files
$> cd kitbookApp
$> npm install -D kitbook

System Info

Ubuntu 24.04.1 LTS
npm v9.2.0
VITE v5.4.10

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