You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to integrate rosnodejs into my electron app, however, I've run into a few problems:
I tried importing it into the renderer directly, it failed due to process.env on renderer being void of environment variables. I have made changes accordingly, but the massages ended up empty, due to some serialization error, at which point I gave up
I tried to load the library on the main process side, however, when I try to publish, I get Error: Cannot find module '/opt/ros/kinetic/share/gennodejs/ros/std_msgs/_index.js' (ros is installed, and sourced, and the file most definitely exists).
I was wondering, if it is possible/practical to try and use rosnodejs with electron, and, if so, are there any additional configuration steps?
The text was updated successfully, but these errors were encountered:
Unfortunately I don't have any recommendations if these errors are specific to use with electron. I've used the two together but it's been a few years and I don't have any of the code from then.
I am trying to integrate rosnodejs into my electron app, however, I've run into a few problems:
I tried importing it into the renderer directly, it failed due to
process.env
on renderer being void of environment variables. I have made changes accordingly, but the massages ended up empty, due to some serialization error, at which point I gave upI tried to load the library on the main process side, however, when I try to publish, I get
Error: Cannot find module '/opt/ros/kinetic/share/gennodejs/ros/std_msgs/_index.js'
(ros is installed, and sourced, and the file most definitely exists).I was wondering, if it is possible/practical to try and use rosnodejs with electron, and, if so, are there any additional configuration steps?
The text was updated successfully, but these errors were encountered: