sveltejs/kit

Documented errors, page 3 of 4. Back to sveltejs/kit

Code / MessageTypeSeverityTags
Invalid alias value
exception error sveltekit, tsconfig, configuration, path-alias
Invalid data for File reviver
exception error serialization, file-upload, remote-functions
Server files not found at
exception error
Cannot prerender a +server file with
exception error prerender, server, build
Invalid alias key
exception error sveltekit, tsconfig, configuration, path-alias
Invalid value for environment variable
validation error environment, configuration, validation
Parameter values must be a string, number, boolean, or…
exception error routing, params, type-conversion, runtime
The `router.resolution` option cannot be 'server' if…
validation error config, router, incompatible-options
Cookie " " is too large, and will be discarded by the…
validation error
Could not deserialize binary form: invalid file offset table
exception error sveltekit, forms, serialization, validation
Invalid data for Set reviver
exception error serialization, remote-functions, devalue
${prerendered.error}
http error prerendering, remote-functions, cache, ssr
Unexpected option . (did you mean config. ?)
validation error sveltekit, config-validation, unknown-option
Cannot `return redirect(...)` — use `redirect(...)` instead
exception error sveltekit, redirect, form-actions, api-misuse
Could not deserialize binary form: overlapping file data
exception error sveltekit, forms, serialization, integrity
Data returned from action inside
exception error sveltekit, serialization, devalue, form-actions
Invalid route — brackets are unbalanced
exception error
Parameter ' ' in route cannot start or end with a slash --…
exception error routing, params, url-validation, runtime
updates() expects a query or live query function, query…
exception error remote-functions, api-misuse, type-error
Cookies set in remote functions must have an absolute path
exception error remote-functions, cookies, validation
Failed to parse netlify.toml
exception error config, toml, netlify, parse-error
should extend SvelteKit's built-in configuration
console warning typescript, tsconfig, sync
argument passed to preloadCode must be a route ID (i.e…
exception error preload, routing, developer-error
cannot start or end with '/'. See…
validation error config, validation, appdir, path-format
The form action returned an error, but +error.svelte wasn't…
console warning forms, ssr, csr, use-enhance, dev-warning
Cannot call validate() on the server
exception error
Cannot use reserved action name "default"
exception error
Invalid validator passed to remote function. Expected…
exception error validation, standard-schema, remote-functions, configuration
The `update( )` option has been deprecated in favour of…
console warning deprecation, forms, client-side
Could not determine host. The request must have a value…
validation error http, headers, proxy, configuration
Could not find server asset
exception error server-assets, adapter-bun, build-artifacts
Malformed tsconfig
exception error typescript, tsconfig, json, parse-error, configuration
Redirects are not allowed in commands. Return a result…
exception error remote-functions, redirect, api-design
Cannot build with because Bun treats literal `*` characters…
validation error bun, routing, adapter-bun
Cannot use `match(...)` inside a service worker, as it…
exception error sveltekit, service-worker, paths, unsupported-context
should be a number, if specified
validation error sveltekit, config-validation, type-error, number
: Calling `event.fetch(...)` in a promise handler after…
console warning load-function, fetch, sveltekit, server
incomplete file data
exception error files, upload, stream-truncation, network
is missing
exception error config, template, build-time, placeholder
The publish directory cannot be set to the site root…
validation error config, netlify, publish-directory
The `status` property of `handleError` is deprecated. Use…
console warning deprecation, handleerror, hooks
called parse before init_transport
exception error serialization, devalue, transport, client, initialization-order
Can only call updated.check() in the browser
exception error ssr, updated, browser-only
Cannot call submit() before the form is attached
exception error remote-forms, lifecycle, client
` ` exported from is invalid — all exports from this file…
exception error remote-functions, module-exports, sveltekit
precompress is ignored with buildOptions.compile: embedded…
console warning adapter-bun, precompress, config, build
should be one of " " or
validation error config, validation, sveltekit
Could not determine clientAddress
exception error dev-server, socket, client-address
File extensions must be alphanumeric — saw
validation error config, validation, regex
Cannot call (...) before router is initialized
exception error navigation, lifecycle, initialization
Cannot call submit() on the server
exception error
Could not locate . Please move it to be located relative to…
validation error vite, assets, image-optimization, svelte
Use `event.cookies.set(name, value, options)` instead of…
exception error cookies, setheaders, hooks
Could not deserialize binary form: too short
exception error
Each member of must be either '*' or an absolute path…
validation error sveltekit, config-validation, prerender
Instrumentation file
exception error sveltekit, adapter, instrumentation, internal
Mismatched route config for
exception error routing, config, build
@sveltejs/enhanced-img requires…
validation error vite, svelte, dependency-version, build
: `__pathname` is a reserved query parameter for…
validation error config, vercel, isr, reserved-keyword
Multiple layout component files found in
exception error routing, config, duplicate-files
Address header was specified with
validation error http, headers, proxy, adapter-node
Form cannot contain duplicated keys
validation error forms, duplicate-key, data-conversion
' ' has no `+page`, so there is no code to preload. If you…
console warning preloading, routing, client-side
The `goto(..., })` option has been deprecated in favour of…
console warning deprecation, navigation, client-side
Cannot call ' .withOverride()' on the server
exception error remote-functions, query, ssr, testing
Could not find prerendered page
exception error prerender, adapter-bun, build-artifacts
Could not auto-detect a runtime. Please explicitly specify…
validation error vercel, adapter, configuration, node-version
Live query completed before yielding a value
exception error query-live, streaming, async-generator, client
SvelteKit configuration
validation error config, migration, breaking-change, sveltekit
Cannot call a command
exception error
: Accessing `params. ` in a promise handler after…
console warning load-function, params, sveltekit, server
Cannot call ' (...).updates(...)' on the server
exception error
is no longer used. Please pass configuration via the…
exception error config, vite, migration, breaking-change
Unsupported Bun version
validation error vercel, bun, versioning, build
Cannot redirect to with ` `. The `javascript:` and `data:`…
exception error redirect, xss, security, validation, sveltekit
Cannot use prerendering if config.csp.mode === "nonce"
exception error csp, prerendering, config
only one socket is allowed for socket activation, but…
validation error node, socket-activation, environment, systemd
A form object can only be attached to a single
exception error remote-functions, forms, sveltekit
Invalid query.live response
http error query-live, network, content-type, streaming
reconnectAll() is invalid for regular queries. Use…
exception error remote-functions, queries, api-misuse
Unsupported Node.js version
validation error vercel, node, versioning, build
a load function returned ` : data instanceof Response ? 'a…
exception error load, sveltekit, serialization
option must be an absolute path, if specified. See…
validation error config, paths, url, validation
does not specify getClientAddress. Please raise an issue
exception error adapter, client-address, ssr
refreshAll() is invalid for live queries. Use…
exception error remote-functions, live-queries, api-misuse
The `goto(..., })` option has been deprecated in favour of…
console warning deprecation, navigation, client-side
`asset(' ')` should now be `asset(' ')
console warning deprecation, paths, assets
Cannot save as is already a file. See…
exception error prerender, route-conflict, filesystem
`$env/static/private` is deprecated, use `$app/env/private`…
console warning deprecation, environment, env-variables, imports, sveltekit
Passing an `App.Error` body as the second argument is…
console warning deprecation, error-handling, api-migration
Cannot export `default` from a remote module
exception error remote-functions, module-exports, sveltekit
Could not install . Please install it yourself by adding it…
exception error auto-install, adapter-auto, package-manager, ci
The and routes must be merged into a single function that…
validation error config, vercel, routes, conflict
You must specify the `assets.binding` key in
exception error cloudflare, wrangler-config, adapter-config, static-assets
You need to install TypeScript if you want to transpile…
exception error typescript, dependencies, transpilation, installation
Cannot add tasks to a queue that has ended
exception error build, queue, lifecycle
Cannot build with because Bun treats a route segment…
validation error bun, routing, adapter-bun
Cannot set cookies in `query` or `prerender` functions
exception error remote-functions, cookies, queries, api-restriction
must be a positive integer
validation error http, headers, proxy, configuration
@sveltejs/adapter-netlify >=2.x (possibly installed through…
validation error version-compatibility, netlify, build