-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cannot find base config file "./.svelte-kit/tsconfig.json" #7028
Comments
Similar issue: #6359 |
As this message indicates, this is a warning, not an error. Are there any problems in your built app? |
Nope, It is not blocking anything (severity: annoyance). I understand that this is less important and can be solved later, there are other urgent issues that need to be resolved before 1.0. It is just that I consider any warning as important thing to solve, I could be wrong though. |
I also have this problem in a monorepo when package A relies on components from package B. When package A is built, package B is missing its "./.svelte-kit/tsconfig.json" because it was never added on |
To everyone who wants to silence this: Prepend your script with |
TIL. Thanks, I will put |
Even doing this I still get the same error. Any ideas? |
I got this warning using pnpm run dev (after pnpm create svelte and pnpm i) and worse, after the warning i got "Error: Not found: /chick". I do have a "chick" component in a previous project, nothing to do with the current project!?? I created a new folder, pnpm create svelte, pnpm i, pnpm run dev. I removed folder, repeated, same result. I figured maybe pnpm is a problem. I tried npm instead. This time no warning but still getting same "/chick" error! Not good. Tried removing pnpm (Windows pc) but so far no joy. Not sure what is really going on here but think pnpm has to be the problem. |
having the same issue using pnpm... |
If you run into this while using |
I'd say this is probably the way to solve this? |
Sure that's reasonable -- what I was suggesting gets you past the error immediately (and is easy to understand), and then regular builds do the rest ( Running |
Is this issue still not resolved? At least from what I've seen, adding this line: "prepare": "svelte-kit sync" to |
Getting the same error and none of the methods above worked for me |
ive tried everything above still i get Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json] |
@dummdidumm would it make sense to add a |
Read this first
This is a harmless warning. To everyone who wants to silence this: Prepend your script with
svelte-kit sync
- e.g."build": "svelte-kit sync && vite build
Describe the bug
I got this
errorwarning when runningnpm run build
in netlify:I think
vite build
requires./.svelte-kit/tsconfig.json
, but./.svelte-kit/tsconfig.json
is generated after the firstnpm run build
, CMIIWReproduction
Netlify build log sample: https://app.netlify.com/sites/salmonfit/deploys/6330b4585ff1820009b08c68
Repo: https://github.com/asendia/salmonfit/tree/5d32bea0c32889c25e5621306d3d47624f05877d
Logs
[WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: