-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Describe the Bug
When installing the package for my latest node version, 20.0.0., which became generally available on the 2023-04-18, I am getting an error message:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'cloudevents@6.0.4',
npm WARN EBADENGINE required: { node: '>=12 <20.0.0' },
npm WARN EBADENGINE current: { node: 'v20.0.0', npm: '9.6.5' }
npm WARN EBADENGINE }
Steps to Reproduce
- npm i cloudevents
Expected Behavior
Package installation successfully finalises
Additional context
20.0.0 version became GA only recently, see https://github.com/cloudevents/sdk-javascript/blob/main/package.json#enroll-beta
So https://github.com/cloudevents/sdk-javascript/blob/main/package.json#enroll-beta should be updated to include 20.0.0 version once it's been verified cloudevents works with the new node version