Skip to content

Update rclnodejs dependency to 0.27.5 for newer Node.js LTS's #26

@mrjogo

Description

@mrjogo

Description

rclnodejs-cli depends on rclnodejs ^0.21.4, which only works on Node.js versions below 20.0.0. There have been two newer LTS versions since then (20 and 22), and the latest supported one (18) is EOL in April 2025. rclnodejs 0.27.5 has support for Node.js version 22.

  • Library Version: 0.3.1 (as an aside, it seems like the version got transposed and it should be 0.1.3)
  • ROS Version: Jazzy
  • Platform / OS: Ubuntu 22.04

Steps To Reproduce

$ nvm use --lts
Now using node v22.12.0 (npm v10.9.0)
$ npx rclnodejs-cli -h
Need to install the following packages:
rclnodejs-cli@0.3.1
Ok to proceed? (y) y

Expected Behavior

rclnodejs-cli installs and prints the help string.

Actual Behavior

It does not install with following output:

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'rclnodejs@0.21.4',
npm warn EBADENGINE   required: { node: '>= 10.23.1 <20.0.0' },
npm warn EBADENGINE   current: { node: 'v22.12.0', npm: '10.9.0' }
npm warn EBADENGINE }
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
npm warn deprecated gauge@2.7.4: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated npmlog@4.1.2: This package is no longer supported.
npm warn deprecated dtslint@4.2.1: See https://aka.ms/type-testing-tools
npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions