Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Problems #3

Open
Zappogb1 opened this issue Apr 23, 2020 · 4 comments
Open

Install Problems #3

Zappogb1 opened this issue Apr 23, 2020 · 4 comments

Comments

@Zappogb1
Copy link

I have set up a raspberry Pi for use with lightcontrol via node-red.
during installation of this node an error occoured and the installation stoped.
one solution is to downgrade the nodejs version from 12.X to 10.20.1.
After the downgrade the installation of this node was successfully and my node-red flow was working correctly.

@danieldean1
Copy link

Following up on this - same issue here with this node install. Comment from Colin here:
https://discourse.nodered.org/t/install-problem-node-red-contrib-dmxusbpro/25348

states "The node requires an old version of the serialport module (6.2.2) which will not build on your system (nor on mine). My guess is that is too old for version 12 of nodejs.
You could try reverting to nodejs 10 or 8, and if it works then raise an issue against the node. It is possible that it just needs its package.json hacked to allow it use the latest version of the serialport module."

Has anyone hacked your package.json to try this? I'm a noob bvut since serial is so level it seems like this should work.

Also, any possibility of an update to the node to address this issue?

@GaneshBaronAloir
Copy link

GaneshBaronAloir commented May 25, 2021

Hello! I'm reviving this thread with a solution that worked for me on Ubuntu 18.04 with NodeJS v15.14.

Clone the repo
In the file "package.json" replace the following lines

"dependencies"  : {
        "serialport"   : "^6.2.0"
    },

for the following (I use serialport version 7.7.6. Change it to whatever version your using)

"dependencies"  : {
        "serialport"   : "^7.7.6"
    },

Build locally with

npm install ~/path/to/repo/node-red-contrib-dmxusbpro

Voilà!

@bucovaina
Copy link

@GaneshBaronAloir : to second you: I just tried this with SerialPort 10.5.0 and it still works!

@GaneshBaronAloir
Copy link

@bucovaina Happy I could help! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants