Closed rukie closed 5 years ago
Although it seems like that conflicts with a ros-crystal installation.... kinda defeating the purpose there huh.
Sorry for the late response, the reason why we suggest to install the nodejs through nvm or download the latest LTS version is that this bridge leverages rclnodejs as a backend to access the ROS2, and rclnodejs is actually an C++ addon which does the binding of C library (here is rcl) to JavaScript.
But there are some compatibility problems if you use different version of nodejs (due to the change of v8), currently we are testing the project on the latest LTS of nodejs, which offers better support of ES6 features.
Thanks for the background!
Is there any reason you suggest installing NodeJS and npm from sources, rather than what's available through Ubuntu's package repository?
I would think this would be easier for more users.