haaaas
SKSignal K
•Created by haaaas on 6/19/2024 in #questions
link plugin & file ownership; best practices
I've developed a plugin which I linked using "npm link".
The plugin than pops up in Plugin Config menu.
However I noticed subsequently I can't install any plugins from the Appstore anymore due to permission issues: with "ls -ld /home/user/.signalk/node_modules" i checked ownership.
Once I chown the permissions to the current user I'm able to install apps from Appstore gain but my Plugin's Config dissapears from the list again.
Also I tried and configured npm to use the directories for global installations to avoid the need to use sudo and ensure all files are owned by the user.
However still same issue.
Anybody know the right way to prevent this from happening?
5 replies