Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package.json to fix node v22.12 error on serverless #1845

Open
wants to merge 1 commit into
base: v13
Choose a base branch
from

Conversation

eusousu
Copy link

@eusousu eusousu commented Dec 18, 2024

Description

The error is the same as stated here serverless/serverless#12936 as the version target as dependency for the serverless-offline v13 is serverless ^3.2 the fixing update is not enforced.

Being nodejs22.x a supported runtime I think the version should be changed to fix this here also.

Motivation and Context

Fix #1844

How Has This Been Tested?

Adding the following line on devDependecies and running npm install does so the problem does not occur anymore and serverless offline can be started.

"devDependencies": {
  ...
  "serverless": "^3.40.0"
}

The error is the same as stated here serverless/serverless#12936 as the version target as dependency for the serverless-offline v13 is serverless ^3.2 the fixing update is not enforced.

Being nodejs22.x a supported runtime I think the version should be changed to fix this here also.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant