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

After upgrading Node-RED container the node node-red-contrib-sht/SHT3x fails #781

Open
2low40 opened this issue Nov 29, 2024 · 0 comments
Open

Comments

@2low40
Copy link

2low40 commented Nov 29, 2024

Hello folks!
Wanted to give this feedback in case someone else runs into it.
My project utilizes node-red-contrib-sht/SHT3x. After upgrading nodered as described here the SHT3x node did not work anymore:
29 Nov 00:54:21 - [warn] [node-red-contrib-sht/SHT3x] Error: Error relocating /data/node_modules/i2c-bus/build/Release/i2c.node: _ZN2v82V818GlobalizeReferenceEPNS_8internal7IsolateEPm: symbol not found
After some research, I was able to resolve the issue in the docker container like so:

$ docker exec -it nodered bash
b108052e4edf:/usr/src/node-red# cd
b108052e4edf:~# npm install -g i2c-bus

To get this all clean, I finally did the following:

$ docker exec -it nodered bash
b108052e4edf:~# cd /data/node_modules/
b108052e4edf:/data/node_modules# rm -rf *
b108052e4edf:/data/node_modules# npm install
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

1 participant