functions-framework-nodejs
functions-framework-nodejs copied to clipboard
Support for Nodejs >=24
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?
I think you can pin the [email protected]
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"
},
// …