dherault / serverless-offline

Emulate AWS λ and API Gateway locally when developing your Serverless project
MIT License
5.16k stars 794 forks source link

Node 20 support? #1758

Closed pscanlon1 closed 5 months ago

pscanlon1 commented 5 months ago

Is node 20 supported?

dnalborczyk commented 5 months ago

yes, node v20 is supported as runtime for this plugin as well as aws runtime.

pscanlon1 commented 5 months ago

Is there something special I need to do to run it as node 20? The cli says it's not supported. When I switch to node 18, it works fine

On Thu, Feb 8, 2024, 6:57 PM dnalborczyk @.***> wrote:

yes, node v20 is supported as runtime for this plugin as well as aws runtime.

— Reply to this email directly, view it on GitHub https://github.com/dherault/serverless-offline/issues/1758#issuecomment-1935114124, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJDGHFHV5TUU55QOOQG7L3YSVQ6BAVCNFSM6AAAAABC6WZWRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVGEYTIMJSGQ . You are receiving this because you authored the thread.Message ID: @.***>

dnalborczyk commented 5 months ago

make sure you are running the latest version, support for node v20 was added fairly recently: https://github.com/dherault/serverless-offline/releases/tag/v13.3.0