-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Labels
Description
Issue description
When running serverless dev in a project that tries to deploy durable lambda functions by configuring "durableConfig" the command fails because durable functions require node >= 22, but the dev command overrides the local version to node 20.
Context
Service Overview
- Serverless Framework Version: 4.32.0
- Command: login aws
import type { AWS } from "@serverless/typescript";
const serverlessConfiguration: AWS = {
service: "workflows",
frameworkVersion: "4",
provider: {
name: "aws",
runtime: "nodejs22.x",
region: "eu-central-1",
},
functions: {
workflows: {
handler: "src/index.handler",
runtime: "nodejs22.x",
durableConfig: {
executionTimeout: 3600, // 1 hour
},
},
},
};
export default serverlessConfiguration;Reactions are currently unavailable