Skip to content

Failed to install kitbook #49

@cke42

Description

@cke42

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: kitbookapp@0.0.1
npm ERR! Found: svelte@5.1.0
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/kit@2.7.2
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 kitbook@1.0.0-beta.31
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 kitbook@1.0.0-beta.31
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions