ITADN

[bug] "[WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]" when starting Deno Svelte project

#15543Opentredondo 创建于 2026-06-15
type: bugstatus: needs triage
T
tredondocommented
### Describe the bug Getting this warning when creating a Svelte deno app on Kubuntu 26: ``` ▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json] tsconfig.json:2:13: 2 │ "extends": "./.svelte-kit/tsconfig.json", ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` ### Reproduction 1. Install the [Linux prerequisites](https://tauri.app/guides/prerequisites/#linux) 2. `deno run -A npm:create-tauri` 3. cd to the app directory 4. `deno install` 5. `deno task tauri dev` as instructed 6. Notice the warning: ``` Task tauri tauri 'dev' Running BeforeDevCommand (`deno task dev`) Task dev vite dev ▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json] tsconfig.json:2:13: 2 │ "extends": "./.svelte-kit/tsconfig.json", ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warn Waiting for your frontend dev server to start on http://localhost:1420/... 5:50:18 PM [vite] (client) Forced re-optimization of dependencies ``` ### Expected behavior No warning. ### Full `tauri info` output ```text $ deno task tauri info Task tauri tauri 'info' [✔] Environment - OS: Ubuntu 26.4.0 x86_64 (X64) (KDE on wayland) ✔ webkit2gtk-4.1: 2.52.3 ✔ rsvg2: 2.61.3 ✔ rustc: 1.95.0 (59807616e 2026-04-14) ✔ cargo: 1.95.0 (f2d3ce0bd 2026-03-21) ✔ rustup: 1.29.0 (28d1352db 2026-03-05) ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default) - node: 24.15.0 - npm: 11.16.0 - bun: 1.3.13 - deno: deno 2.8.3 [-] Packages - tauri 🦀: 2.11.2 - tauri-build 🦀: 2.6.2 - wry 🦀: 0.55.1 - tao 🦀: 0.35.3 - @tauri-apps/api ⱼₛ: 2.11.0 - @tauri-apps/cli ⱼₛ: 2.11.2 [-] Plugins - tauri-plugin-opener 🦀: 2.5.4 - @tauri-apps/plugin-opener ⱼₛ: 2.5.4 [-] App - build-type: bundle - CSP: unset - frontendDist: ../build - devUrl: http://localhost:1420/ - framework: Svelte - bundler: Vite ``` ### Stack trace ```text ``` ### Additional context _No response_
0 条评论