internetarchive / internet-archive-voice-apps

Voice Apps (Actions on Google, Alexa Skill) of Internet Archive. Just say: "Ok Google, Ask Internet Archive to Play Jazz" or "Alexa, Ask Internet Internet Archive to play Instrumental Music"
46 stars 42 forks source link

Upgrade to use node engine 16 #580

Closed anishsarangi closed 1 year ago

anishsarangi commented 1 year ago

Upgrading the node engine to v18. Reason: The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. It requires the new runtime (nodejs18.x) while creating or updating functions

vbanos commented 1 year ago

IIRC, "bespoken-tools": "^2.6.7", didn't work correctly with node.js > 12 when I tried it. Have you tried it with node 18 and it works? In any case, I would suggest to upgrade to 14, test it, then 16, test again, and finally 18. 12 -> 18 is a huge upgrade.