Nav menu disappeared
-
Hi
The navigation buttons on the top nav bar disappeared after installation of spoiler and emoji. I uninstalled these but the buttons didn't come back. I've tried ./nodebb reset all. It removed all my widgets and reset the entire theme but the buttons are still gone.
(the buttons on the right - chat, notification, search, profile icon - are still there, but the buttons on the left have disappeared).
Edit: I think this was also after I upgraded the vanilla theme, though I was using lavender theme.
-
The latest vanilla theme (1.0.27 and up) requires the latest master of NodeBB, so either you'll have to downgrade vanilla or upgrade NodeBB to latest
-
Hi, I could remove vanilla fine, but when I tried the second command, I got these error
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/nodebb-theme-vanilla
npm http 200 https://registry.npmjs.org/nodebb-theme-vanilla
npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@>=0.0.137
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@^1.0.0
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@~0.0.111npm ERR! System Linux 3.13.0-43-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "nodebb-theme-vanilla"
npm ERR! cwd /home/hanmai/mynodebb
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/hanmai/mynodebb/npm-debug.log
npm ERR! not ok code 0I've restarted nodebb. The buttons are still gone.
-
I updated to the latest version of nodebb using git pull and the buttons have come back. However, I noticed during the installation that the same error message occurred.
"The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements!"
^ I noticed I got that message every time I tried to install a plugin, even after I've updated nodebb.
These are what I get when I entered the command you showed
[email protected] /home/hanmai/mynodebb
āāā [email protected] peer invalidnpm ERR! peer invalid: [email protected] /home/hanmai/mynodebb/node_modules/nodebb-theme-vanilla
npm ERR! not ok code 0 -
Ok, well you are using the master branch with 0.7.0 and the plugin spam-be-gone is not compatible with it I guess. About flip theme it seems that it's not compatible with 0.7.0 as well. For the lavender theme, you can update it to its lattest version with npm.
npm -i [email protected]