Using Terminal to run Node.js command

Hello,

I am having an issue with a 3rd party node in Node-Red and there's a resolution for it on the github forum but I do not know how to implement it. I will need to run the following command: export NODE_OPTIONS=--openssl-legacy-provider but am not sure how and where to run it from. I usually run such commands from the terminal if Node-Red is installed locally on PC but can't seem to figure out how to do it here. Any help on this is appreciated.

Thanks,

Bala

Best reply by Sgilk

On a physical CORE, you'll need to request an ssh user assertion. This would not be valid for a production solution and only for development purposes.

See this How-To for more info.

If exporting the environment variable is required and you don't have ssh access, I think your best bet will be building a custom Node-RED snap.

View original
3 replies