The entire error below. I've been searching for some clues, but coming up empty handed and hoping someone can help. This is a fresh install on a debian 10 server.
2020-04-17T16:33:02.636Z [26376] - error: [build] admin control panel styles build failed 2020-04-17T16:33:02.639Z [26376] - error: resource 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' gave this Error: Error: socket hang up {"type":"File","filename":"/var/www/nodebb/nodebb/public/less/admin/paper/bootswatch.less","index":87,"line":5,"column":0,"callLine":null,"extract":["","@import url(\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700\");",""]} ==================================================================================================================================== 2020-04-17T16:33:02.647Z [26376] - error: resource 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' gave this Error: Error: socket hang up {"type":"File","filename":"/var/www/nodebb/nodebb/public/less/admin/paper/bootswatch.less","index":87,"line":5,"column":0,"callLine":null,"extract":["","@import url(\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700\");",""]} (node:26376) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:26376) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.Fresh Install Error - Cannot Login/Register & JS Reference Error
-
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.
-
@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