Skip to content

@confluent/[email protected] not compatible with Node 18 #152

@justjake

Description

@justjake

Environment Information

  • OS [e.g. Mac, Arch, Windows 10]: Mac
  • Node Version [e.g. 8.2.1]: 18.17.0
  • NPM Version [e.g. 5.4.2]: 9.6.7
  • C++ Toolchain [e.g. Visual Studio, llvm, g++]: N/A
  • confluent-kafka-javascript version [e.g. 2.3.3]: 0.4.0

Steps to Reproduce

  • Use Node 18.x
  • Attempt to install v0.4.0
$ npm i
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":"20 || >=22"}
npm ERR! notsup Actual:   {"npm":"9.6.7","node":"v18.17.0"}

Package lru-cache@11 doesn't support Node 18. I suggest you downgrade your requirement to lru-cache 10, and use CI to run npm install on a matrix of your supported platforms to prevent similar regressions in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed-present-in-next-releaseBug or improvement that's done, it is in the development branch but yet unreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions