Skip to content

Build fails with latest typescript version #4313

Closed
@danez

Description

@danez

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

Metadata

Metadata

Assignees

Labels

type: bugcode to address defects in shipped code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions