• 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

  • Thank you. Which command should i use to upgrade nodebb? What about downgrading vanilla? I used reset plugin command for vanilla but it didn't solve the issue.

  • You can try.

    npm remove nodebb-theme-vanilla
    npm install nodebb-theme-vanilla

  • 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 [email protected]>=0.0.137
    npm ERR! peerinvalid Peer [email protected] wants [email protected]^1.0.0
    npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.0.111

    npm 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 0

    I've restarted nodebb. The buttons are still gone.

  • What version of nodebb are using ? Can you please tell me what's the result of

    npm ls nodebb-theme-vanilla

  • 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 invalid

    npm 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]
  • GNU/Linux Admin

    spam-be-gone is compatible with all themes >=0.0.137, so it is clear.

    Uninstall flip, then reinstall vanilla and lavender.

  • I did as you said and it worked. flip theme must have been the one causing problem. Thank you. šŸ™‚

Suggested Topics

| | | |