rclnodejs 0.20.0 requires node.js 10.23.1 or higher (and <13.0.0), apt install nodejs will only install 10.19.0 by default and will get a error like blow.
So I added a process to install node.js 12. I also remove npm because it is included in node.js.
node.js version problem occurred in micro-ROS_crazyflie_demo/dockerfile/visualizer/Dockerfile
rclnodejs 0.20.0 requires node.js 10.23.1 or higher (and <13.0.0),
apt install nodejs
will only install 10.19.0 by default and will get a error like blow.So I added a process to install node.js 12. I also remove npm because it is included in node.js.
Feel free to change it if you have a better solution. The following sites are for your reference. https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04