IgnitionModuleDevelopmentCommunity / IgnitionNode-RED

Adds support for Node-RED
Apache License 2.0
31 stars 7 forks source link

node-red-contrib-ignition-nodes on Opto22 RIO #14

Closed anengineerdude closed 3 years ago

anengineerdude commented 3 years ago

Tried to install node-red-contrib-ignition-nodes on Opto22 RIO and get Error: Cannot find module 'ws' (line:16)

Is there a way to install the dependency in a RIO?

iatraviscox commented 3 years ago

I assume various dependencies are already there like the ws package. It seems it is not there by default on that version of NodeRED on the RIO. If you can SSH into the RIO box you can definitely install them with:

npm install ws

I think I need to force the dependency in my package.json. I will get that done shortly.

iatraviscox commented 3 years ago

I uploaded a new version this morning that takes care of the dependencies.