Confused about using .ts files with node adapter #11744
Unanswered
NormandoHall
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to typescript, and I want to refactor and old running javascript kit code to typescript.
I changed a server file in
$lib/server/Redis.ts
and adjust all the imports.Ia am using custom node server, with
handler.js
in it.Running in dev mode is ok, but after build (without problems) and load handler.js in my custom express server I get this error:
Sveltekit v2.5.0
I need to change something when build kit to compile ts files for node adapter?
Beta Was this translation helpful? Give feedback.
All reactions