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

Doesn’t install on NodeRed based on Raspberrymatic (Homematic) #36

Open
hodiet opened this issue Nov 18, 2023 · 2 comments
Open

Doesn’t install on NodeRed based on Raspberrymatic (Homematic) #36

hodiet opened this issue Nov 18, 2023 · 2 comments

Comments

@hodiet
Copy link

hodiet commented Nov 18, 2023

System: ccu3 with raspberrymatic 3.71.12.2023.10.20(rpi3), NodeRed (RedMatic 7.2.1)

Tried to in install with nodered internal palette management: failed, no output, no reason
Tried on ssh command line (root user),

npm install node-red-contrib-tplink-tapo-connect-api
(from https://flows.nodered.org/node/node-red-contrib-tplink-tapo-connect-api)

failed with error: no such file or directory: /root/node_modules

this is correct, because /root is a read-only file system

my question, did anyone solve this installation issue already?

@hodiet
Copy link
Author

hodiet commented Nov 18, 2023

The installation command line have the option --save-prefix=~
That is probably wrong, because ~ points to homedir of current user, which is root. What directory should be the installation directory of a nodered add on?

@hodiet
Copy link
Author

hodiet commented Nov 18, 2023

Hm, no. Even with option --save-prefix set to /usr/local/addons/redmatic/var/node_modules
the error remains the same, it's still complaining that /root/node_modules is not available.
Any ideas?

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