when running .ts scripts using ts-node. I found (from here) that running node directly with --experimental-specifier-resolution=node and ts-node loaded using --loader ts-node/esm helps.
I updated the version in the .nvmrc as well, for reproducible local builds.
Node.js on Vercel now fails with error:
when running
.ts
scripts usingts-node
. I found (from here) that runningnode
directly with--experimental-specifier-resolution=node
andts-node
loaded using--loader ts-node/esm
helps.I updated the version in the
.nvmrc
as well, for reproducible local builds.