-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error loading node-red-mcu-plugin #8
Comments
Looking in the container:
I ended up patching get_require_path to simply return:
This got me through the require issue and now NR starts fine. |
A few comments - without being sure they're truly relevant:
This looks like
The location of the
Your system expects to exists under the shown |
I'm using the official docker images. Node-RED is installed in /usr/src/node-red and that's ~node-red ($HOME). The user dir is /data. Node-RED has two node_modules directories: the one where it itself is installed (/usr/src/node-red/node_modules) and in the user dir (/data/node_modules). For a npm install it's common to use the home dir. If you install something within the node-red flow editor using the palette manager then it goes into the user dir's node_modules. The installation of Node-RED is basically:
Maybe what causes the problem is the way node-red is started:
See the package.json file's start command. |
Thank you for this data. |
Linux Arch x64, running node-red in docker, only installing node-red-mcu-plugin:
The script to launch the container is below. I have the modaable SDK installed and node-red-mcu-plugin checked out and I map both of these into the docker container.
The text was updated successfully, but these errors were encountered: