linuxserver / docker-thelounge

GNU General Public License v3.0
25 stars 7 forks source link

can't install themes #11

Closed realies closed 6 years ago

realies commented 6 years ago

When trying to install a theme it complains about spawning npm, can it be added to the next release? Perhaps a persisting themes folder would need to be mapped.

root@helion:~# docker exec -it the-lounge node /app/node_modules/thelounge/index.js --home /config install lounge-theme-solarized
2017-11-21 21:34:33 [WARN] --home is deprecated and will be removed in a future version.
2017-11-21 21:34:33 [WARN] Use the LOUNGE_HOME environment variable instead.
2017-11-21 23:34:33 [WARN] Referring to CSS files in the theme setting of /config/config.js is deprecated and will be removed in a future version.
2017-11-21 23:34:33 [INFO] Retrieving information about the package...
2017-11-21 23:34:33 [INFO] Installing lounge-theme-solarized...
2017-11-21 23:34:33 [ERROR] Error: spawn npm ENOENT
thelamer commented 6 years ago

Created PR https://github.com/linuxserver/docker-thelounge/pull/14, just a heads up though the theme in your example does not have up to date metadata and does not work with thelounge :

[ERROR] lounge-theme-solarized does not have The Lounge metadata.

Tested some other themes though and they work.

realies commented 6 years ago

@thelamer, lounge-theme-solarized has been renamed to thelounge-theme-solarized.