Linking private theme issue
-
Hi,
I published a private theme (package) in the npm registry. NodeBB built and restarted without problems. When I try to select it to be the current theme, it complains it can't find theme.json. The path to theme.json is missing the organization.
ENOENT: no such file or directory, open '/home/ubuntu/nodebb/node_modules/<theme name>/theme.json'
When I check node_modules, it's in '/home/ubuntu/nodebb/node_modules/@<org name>/<theme name>/theme.json'
Anyone else run into this issue?
Thanks!
-
There's an issue on GitHub for this
Themes can not be used when coming from a scoped npm org · Issue #7983 · NodeBB/NodeBB
nodebb version: 1.12.2 git hash: 22db818 Database type: mongo Database version: 4.2.0 Exact steps to cause this issue: put a theme from a scoped npm org like @bytepark/nodebb-theme-hyper into package.json do a nodebb upgrade. The package...
GitHub (github.com)