Closed
Description
Using the latest typescript version fails, because the old ts-node version we pin is not compatible anymore with the latest TS version.
False expression:Non-string value passed to \`ts.resolveTypeReferenceDirective\`, likely bya wrapping package working with an outdated \`resolveTypeReferenceDirectives\` signature. This is probably not a problem in TS itself.
In order to fix this, we need to update ts-node. Currently, it is pinned to version 10.4.0 because any newer version breaks @netlify/build
. This is because ts-node in version 10.5.0 or newer has functions in its default config which cannot be serialized in the IPC.
related: #4133