which node engine should the TS version use?
# getting-started
s
which node engine should the TS version use?
l
Several answers to that 🙂 It's not particularly important from Pulumi's point of view; it generally depends on your code. For example, I use Yarn4, ESM and workspaces, and there's something in there (can't remember what) that doesn't work with 18, so I need 20+. But I think it would probably work with 12+, if you're doing very plain stuff.
And it's not a bad idea to use the same version as is used by any cloud runtimes you use: so if you're deploying TS lambdas to AWS, you'll want 16+, since everything older is now deprecated or removed.
r
FWIW 20+ is now LTS
and 16 is deprecated
l
Ah yes. I had updated everything AWS told me to update, then I dumped all that data out of my head 🙂