unable to deploy using dfx new [motoko/sveltekit] - tsconfig.json in wrong spot
Open
Nobody has claimed this yet.
needs-triage
- Dominant language
- Rust
- Stars
- 204
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
I tried the following:
- dfx new hello [motoko/sveltkit]
- cd hello
- dfx start --clean --background
- dfx deploy
the tsconfig.json is in the project root directory. It should be in hello/src/hello_frontend/.svelte-kit/tsconfig.json
Meta
dfx --version:
0.24.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the documented dfx new motoko/sveltekit and dfx deploy commands, then inspect the generated tsconfig.json and src/helloprob_frontend/.svelte-kit/tsconfig.json paths. Trace the frontend template or build entry point that sets the TypeScript configuration location; done means the generated project finds .svelte-kit/tsconfig.json and dfx deploy completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, cli, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100