-
I am having read errors while trying to install a nodebb theme. Could you please help me resolve. The command is: npm install nobebb-theme-timuu
See error below.-
npm ERR! rofs EROFS: read-only file system, mkdir '/root/.npm/nodebb-theme-timuu'
npm ERR! rofs This is most likely not a problem with npm itself
npm ERR! rofs and is related to the file system being read-only. -
@chxmontoro Open a web terminal and
cd /app/code /usr/local/bin/gosu cloudron:cloudron npm install nodebb-theme-timuu
Then, restart NodeBB.
BTW, the docs for this are here: https://cloudron.io/documentation/apps/nodebb/
-
On this note, I'm trying to install
nodebb-plugin-sso-open-ldap
with/usr/local/bin/gosu cloudron:cloudron npm install nodebb-plugin-sso-open-ldap
but then I get
gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EROFS: read-only file system, mkdir '/home/cloudron/.node-gyp' gyp ERR! System Linux 4.4.0-166-generic gyp ERR! command "/usr/local/node-8.12.0/bin/node" "/usr/local/node-8.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /run/nodebb/node_modules/dtrace-provider gyp ERR! node -v v8.12.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok
What should I do?
Alternative question: Can we get built-in LDAP support in the app package?