The version of node-canvas (v2) used does not have prebuilt binaries for the latest node lts (node 22). It can still be built from source but you will need to install several system dependencies. We should update to node-canvas >= 3 which uses the newer NAPI api.
Before proceeding, is there an existing issue or discussion for this?
OS and version
Ubuntu 24.04
Open-RMF installation type
Source build
Other Open-RMF installation methods
No response
Open-RMF version or commit hash
main
ROS distribution
Jazzy
ROS installation type
Binaries
Other ROS installation methods
No response
Package or library, if applicable
No response
Description of the bug
The version of
node-canvas
(v2) used does not have prebuilt binaries for the latest node lts (node 22). It can still be built from source but you will need to install several system dependencies. We should update tonode-canvas
>= 3 which uses the newer NAPI api.Steps to reproduce the bug
pnpm install
on node 22.Expected behavior
No response
Actual behavior
No response
Additional information or screenshots
No response