If I install kit-docs with option : Add type checking with TypeScript? › No I have this error:
$ pnpm init @svelteness/kit-docs@0.23.0 mydocs
ERR_PNPM_INIT_ARG init command does not accept any arguments
Maybe you wanted to run "pnpm create @svelteness/kit-docs@0.23.0 mydocs"
$ npm init @svelteness/kit-docs@0.23.0 mydocs 1
✔ Default KitDocs Theme? (Y/n) · true
[kit-docs]: target directory is empty, creating new SvelteKit app.
create-svelte version 2.0.0-next.149
Welcome to SvelteKit!
This is beta software; expect bugs and missing features.
Problems? Open an issue on https://github.com/sveltejs/kit/issues if none exists already.
✔ Which Svelte app template? › Skeleton project
✔ Add type checking with TypeScript? › No
✔ Add ESLint for code linting? … No / Yes
✔ Add Prettier for code formatting? … No / Yes
✔ Add Playwright for browser testing? … No / Yes
Your project is ready!
Install community-maintained integrations:
https://github.com/svelte-add/svelte-adders
Next steps:
1: cd mydocs
2: npm install (or pnpm install, etc)
3: git init && git add -A && git commit -m "Initial commit" (optional)
4: npm run dev -- --open
To close the dev server, hit Ctrl-C
Stuck? Visit us at https://svelte.dev/chat
Error: ENOENT: no such file or directory, open '/home/stephane/git/github.com/stephane-klein/kit-docs-playground/services/mydocs/src/app.d.ts'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at main (file:///home/stephane/.npm/_npx/e156d22c8060e77f/node_modules/@svelteness/create-kit-docs/bin/create-kit-docs.js:146:28)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/stephane/git/github.com/stephane-klein/kit-docs-playground/services/mydocs/src/app.d.ts'
}
npm ERR! code 1
npm ERR! path /home/stephane/git/github.com/stephane-klein/kit-docs-playground/services
npm ERR! command failed
npm ERR! command sh -c create-kit-docs "mydocs"
npm ERR! A complete log of this run can be found in:
npm ERR! /home/stephane/.npm/_logs/2022-07-17T13_28_24_777Z-debug-0.log
If I install
kit-docs
with option :Add type checking with TypeScript? › No
I have this error: