Installing ros-melodic-ros-base deletes npm, installing npm deletes ros. How can I have both?
I inherited a system that needs both ROS and npm to be complete. I had to re-flash the embedded computer that they were running on, and so now I am reinstalling and reconfiguring everything. However, when I run sudo apt install ros-melodic-ros-base, it deletes npm during installation. When I run sudo apt install npm, it deletes all of my ros stuff during installation. The person that set it up before doesn't know why this is happening, so he is unable to help me get both packages installed.
Why is this happening? Is there a way to have both? I will gladly give more detail if necessary, just let me know.
Thanks in advance