You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the sequence function causes a runtime error using the node-adapter (possibly others too?) as it tries to import from '@sveltejs/kit/hooks' at runtime.
Error is:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@sveltejs/kit' imported from /app/build/server/app.js at new NodeError
Reproduction
Add hooks.ts to the default project, reference sequence. e.g.:
Describe the bug
Using the
sequence
function causes a runtime error using the node-adapter (possibly others too?) as it tries to import from '@sveltejs/kit/hooks' at runtime.Error is:
Reproduction
Add
hooks.ts
to the default project, referencesequence
. e.g.:Logs
No response
System Info
Severity
Can work around by copying
sequence
function into projectAdditional Information
Maybe related?
#3137
#1257
The text was updated successfully, but these errors were encountered: