@Amrita-Sukumar said in Can you use Nodebb for Building a Help Section?:
@scottalanmiller Gotcha!! thank you
No problem!
This is happening on one of my test servers.
I can access the site with a cached connection, but the moment I sign out and attempt to sign back in we go through the cycle of button hitting doesn't take us anywhere. However, if I restart the site in dev mode, I can login fine - for a bit, before this issue presents itself.
We're running 0.5.0 (post XSS-patch)
Lavender and Vanilla are on the proper @0.0 versions.
Oh dear... can you clear your browser cache?
Also let me know your theme and core versions (npm ls nodebb-theme...
, and git rev-parse HEAD
)
I'll come back to this topic tomorrow or the weekend, and restore a snapshot to provide the info.
We pulled master, then hopped back.
I believe Lavender was 0.0.79 Vanilla was @0.0.137 - whichever versions you get by running npm i [email protected]
Yeah those versions should be ok on the v0.5.x
branch.
Any reason I'm getting this on master?
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.1.0
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.0.33
npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "i" "[email protected]"
npm ERR! cwd /home/a_5mith/35hz
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/a_5mith/35hz/npm-debug.log
npm ERR! not ok code 0
I may be wrong, but it looks like maybe something is wrong with the package.json getting read. On the fifth line it shows "[email protected]"
Check the package.json and see if that's the case. Maybe something like "@0.x.x" or "@0.1.x" will fix it.
@a_5mith Your version of spam-be-gone is requesting vanilla 0.0.x, while you're on 0.1.x versions. Latest spam-be-gone should fix that up.
Shouldn't npm up
have updated that? Seems to have solved it though by updating to latest.