functions-framework-nodejs icon indicating copy to clipboard operation
functions-framework-nodejs copied to clipboard

Support for Nodejs >=24

Open roman-supy-io opened this issue 2 months ago • 2 comments

I'm trying to switch my workspace version requirement from node 22 to node 24 but this error comes up:

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '[email protected]',
npm warn EBADENGINE   required: { node: '>=16 <=22' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }

Is it possible to update to https://www.npmjs.com/package/cloudevents/v/10.0.0? I know it drops Node 18 support, so maybe new major version get's released?

roman-supy-io avatar Oct 22 '25 10:10 roman-supy-io

I think you can pin the [email protected]

dixuswe avatar Oct 27 '25 20:10 dixuswe

v4.0.1 bumped to cloudevents@^10.0.0.

If you cannot bump to v4.0.1 yet due to the bump to express v5, you can use overrides in your package.json:

  // …
  "overrides": {
    "cloudevents": ">=10.0.0"
  },
  // …

caugner avatar Dec 11 '25 10:12 caugner