BTW. npm audit give me whole bunch of so called "security issues".
No, now just one ...
npm audit fix could not fix these - so how can that be fiexed?
*puzzled*
Anyone knows what to do here?
Hello!
I just did a fresh install of NodeBB and i am getting two issues.
First i cannot login due to Invalid CSRF Token
and Browser console displaying errors
nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:8 Uncaught ReferenceError: io is not defined
at http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:8:13946
at http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:8:15593
sounds.js?v=f2c543ff-5779-45b5-b067-613749585aaf:11 Uncaught TypeError: Cannot read property 'on' of undefined
at http://forum.zarfundbeast.com/src/modules/sounds.js?v=f2c543ff-5779-45b5-b067-613749585aaf:11:8
at Object.execCb (http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:7:375)
at w.check (http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:6:26583)
at w.<anonymous> (http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:6:28821)
at http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:6:21093
at http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:6:29252
at y (http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:6:20653)
at w.emit (http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:6:29223)
at w.check (http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:6:27135)
at w.enable (http://forum.zarfundbeast.com/nodebb.min.js?f2c543ff-5779-45b5-b067-613749585aaf:6:29121)
How can i fix These Issues Please...
So I just spun up a new instance to make some updated instructions because the documentation page is 2 years old.
I installed to v1.3.0 and had the forbbiden issue.
I checked out master and did the ./nodebb upgrade and now I am still unable to log in.
Also getting this on a clean install after switching to master.
@JaredBusch Hm.. did you ./nodebb upgrade
or ./nodebb build
after switching?
@julian said in Fresh Install Error - Cannot Login/Register & JS Reference Error:
@JaredBusch Hm.. did you
./nodebb upgrade
or./nodebb build
after switching?
./nodebb upgrade
@julian said in Fresh Install Error - Cannot Login/Register & JS Reference Error:
Ah yes I see you did say that earlier. You pulled after you switched to master, too, right?
Yes, I did.
I am about to do this again.
I created this document as I was building things last night.
I figured once I had it repeatable, I would look at making a pull request on the official docs
@julian said in Fresh Install Error - Cannot Login/Register & JS Reference Error:
Ah yes I see you did say that earlier. You pulled after you switched to master, too, right?
I have made a new post with more detail on what I have done to recreate/replicate issues.
https://community.nodebb.org/topic/9915/new-install-leaves-me-with-session-mismatch-invalid-csrf