@baris said:
What is the git commit hash? Is it happening on this site as well?
Yes. Happening on last master
After pushing navbar button on mobile version, loading spinner pops out and keeps on spinning, also chats button doesn't show up
v1.6 or v1.16?
Have you tried a rebuild and restart?
I'm sorry for my mistake - v1.16
yes, i tried to rebuild and restart
@nadiaeugenia do you mind sharing your URL? Have you tried disabling plugins? What browser are you using?
@nadiaeugenia Did you fork the quickstart Theme?
https://github.com/NodeBB/nodebb-theme-quickstart
Then you have to check the plugin.json
.
In quickstart theme it is currently:
"scripts": [
"lib/client.js",
"../nodebb-theme-persona/lib/persona.js",
"../nodebb-theme-persona/lib/modules/nprogress.js",
"../nodebb-theme-persona/lib/modules/autohidingnavbar.min.js",
"../nodebb-theme-persona/lib/modules/quickreply.js"
],
you have to edit the path from /lib/
to /public/
.
Also the file nprogress.js
isn't available anymore.
Take a look at https://github.com/NodeBB/nodebb-theme-persona/tree/master/public
maybe @baris could update the quickstart theme repo?
@nadiaEugenia your plugin.json
should look like this to get sidebar working:
"scripts": [
"lib/client.js",
"../nodebb-theme-persona/public/persona.js",
"../nodebb-theme-persona/public/modules/autohidingnavbar.min.js",
"../nodebb-theme-persona/public/modules/quickreply.js"
],
I have had the same issue but fixed it yesterday.
Don't forget to add your custom scripts eg "lib/client.js"
Small supplement:
Got the same error after upgrading NodeBB to 1.16.1. Endless loading spinner on mobile view.
I installed and activated another theme. In my case it was:
After activating the plugin I ran
./nodebb build
./nodebb start
after that I switched back to nodebb-theme-persona
via the ACP.
again:
./nodebb build
./nodebb start
After that my sidebar is working on mobile again.
Hope this helps.
I updated the quickstart repo to remove nprogress