sveltejs/kit
Documented errors, page 4 of 4. Back to sveltejs/kit
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| : Accessing `route. ` in a promise handler after… | console | warning | load-function, route, sveltekit, server |
| Query resolved without a value | http | error | query, remote-functions, client, unresolved-value |
| `$` is used to collect all FormData validation issues and… | validation | error | formdata, validation, remote-forms, reserved-name |
| Could not detect a supported production environment. See… | console | warning | adapter-auto, deployment, configuration, build |
| `$env/dynamic/public` is deprecated, use `$app/env/public`… | console | warning | deprecation, environment, env-variables, imports, sveltekit |
| should be a string, if specified | validation | error | config, validation, types |
| should be true or false, if specified | validation | error | sveltekit, config-validation, type-error, boolean |
| called stringify before init_transport | exception | error | serialization, devalue, transport, initialization-order |
| `$app/environment` is deprecated, use `$app/env` instead | console | warning | deprecation, imports, sveltekit |
| Failed to locate tsconfig or jsconfig | exception | error | typescript, tsconfig, configuration, monorepo |
| Multiple layout module files found in : and | exception | error | routing, typescript, duplicate-files |
| Multiple page component files found in | exception | error | routing, config, duplicate-files |
| Cannot use `split: true` alongside `edge: true` | validation | error | config, netlify, mutually-exclusive-options |
| Attempted to preload a URL that does not belong to this app | exception | error | preload, routing, sveltekit |
| Cannot call query.live | exception | error | prerendering, live-query, streaming, ssg |
| Cannot call query ' ' while prerendering, as prerendered… | exception | error | prerendering, remote-functions, query, ssg |
| Multiple page module files found in : and | exception | error | routing, typescript, duplicate-files |
| `redirect` options.external must be `true` or an array of… | exception | error | redirect, validation, api-misuse |
| requested(...) can only be called in the context of a… | exception | error | remote-functions, requested, command, context |
| The " " and " " routes conflict with each other | exception | error | routing, routes, conflict, dev-time |
| Cannot use prerendering if page template contains… | exception | error | csp, prerendering, app-html |
| The header specified which is an invalid because it… | validation | error | http, security, header-injection, proxy |
| `$app/stores` has been removed in favour of `$app/state`… | exception | error | deprecated-api, migration, app-state |
| Cannot prerender pages with actions | exception | error | sveltekit, prerendering, form-actions, build-time |
| Cannot use `setHeaders(...)` after the response has been… | exception | error | http-headers, sveltekit, lifecycle |
| Invalid key " ": This key is not allowed to prevent… | validation | warning | security, prototype-pollution, forms |
| must be a valid origin (e.g. 'https://my-site.com'). ' '… | validation | error | config, url, prerender, validation |
| The header specified which is an invalid port because it is… | http | error | http-headers, proxy, adapter-bun |
| Found issues while validating | console | warning | typescript, tsconfig, validation |
| Cannot prerender a route with both +page and +server files | exception | error | prerender, routing, build |
| must be a valid origin — only 'http' and 'https' protocols… | validation | error | config, url, prerender, protocol |
| adapter-bun requires running the SvelteKit build with Bun… | exception | error | bun, runtime, adapter-bun, build |
| Expected query.live response body to be a ReadableStream | exception | error | query-live, streaming, network, readable-stream |
| is , but only found addresses | validation | error | http, headers, proxy |
| The `generateManifest` adapter API has been removed — use… | validation | error | sveltekit, adapter, breaking-change, api-removed |
| : Calling `depends(' ')` will throw an error in Firefox… | console | warning | load-functions, depends, firefox, uri-scheme |
| The header specified which is an invalid protocol scheme… | http | error | http-headers, proxy, adapter-bun |
| Cannot delete cookies in `query` or `prerender` functions | exception | error | remote-functions, cookies, queries, api-restriction |
| Invalid data for Map reviver | exception | error | remote-functions, deserialization, security |
| must be an array of strings | validation | error | config, type-error, validation |
| routes.include must contain at least one route | validation | error | cloudflare, routes-json, adapter-config, limits |
| location header missing on redirect received from | console | warning | prerender, redirect, http-headers |
| `cache-control` header contains empty directives. | validation | error | cache-control, http-headers, validation |
| Invalid character escape sequence in | exception | error | routing, routes, unicode, validation |
| should be a function, if specified | validation | error | config, validation, typescript |
| Can only use the `multiple` attribute when `name` includes… | exception | error | dev-mode, formdata, remote-forms, file-upload |
| Failed to locate provided tsconfig or jsconfig | exception | error | typescript, tsconfig, path, configuration |
| Invalid content-type value | validation | error | content-type, http-headers, validation |
| option must either be the empty string or a root-relative… | validation | error | config, paths, validation |
| Limit must be a non-negative integer or Infinity | exception | error | validation, arguments, batching, requested |
| The `edge` runtime is no longer supported | validation | error | config, vercel, adapter, edge-runtime |
| Unsupported runtime: . Supported runtimes are: . See the… | validation | error | vercel, adapter, configuration, validation |
| Invalid remote key | exception | error | remote-functions, url, internal-api |
| requested(...) expects a query function created with… | exception | error | remote-functions, query, requested, type-mismatch |
| Cannot import into code that runs in the browser, as this… | exception | error | |
| requested( , ) cannot be used with synchronous iteration… | exception | error | async-iteration, requested, query, validator |
| Instrumentation initializer | exception | error | sveltekit, adapter, instrumentation, internal |
| routes.include must contain 100 or fewer routes | validation | error | config, limits, cloudflare |
| ${source.errors[0].message} | exception | error | syntax, build, vite, static-analysis |
| Could not load | exception | error | vite, imagetools, image-optimization, plugin |
| Entrypoint file not found. This is probably a bug in your… | exception | error | sveltekit, adapter, instrumentation, internal |
| Invalid BODY_SIZE_LIMIT | validation | error | configuration, environment, body-size |
| The following plugins may not work correctly because they… | console | warning | vite, plugins, compatibility |
| - ${warning} | console | info | typescript, tsconfig, validation |
| query.live ' ' did not yield a value | exception | error | live-query, generator, async-iteration, remote-functions |
| option must not end with '/'. See… | validation | error | config, paths, url |
| Hexadecimal escape sequence in | exception | error | routing, routes, unicode, validation |
| Regular expressions are not valid remote function arguments | exception | error | remote-functions, serialization, validation |