This is a bug https://github.com/NodeBB/NodeBB/issues/7814
[Solved] No content or functionality in NodeBB after setup.
-
I've setup NodeBB as instructed in the docs and I just get this:
Console is logging javascript errors, I've run npm install, setup and start.
But nothing shows up.
Console Errors:
Uncaught TypeError: Cannot set property 'io' of undefined nodebb.min.js?v=v0.3.2-409-g55b5d0c:1
Uncaught TypeError: Cannot call method 'config' of undefined (index):38
Uncaught TypeError: Cannot set property 'initialLoad' of undefined (index):295
Uncaught TypeError: Property 'require' of object [object Object] is not a function (index):346
Calling LP_setval from A onloadwff.js:78
-
Hm.. how new is the code that you are using? What do you see when you navigate to
/nodebb.min.js
? -
/nodebb.min.js
@julian I get:
"use strict";var io="undefined"==typeof module?{}:module.exports;if(function(){if(function(t,e){var n=t;n.version="0.9.16",n.protocol=1,n.transports=[],n.j=[],n.sockets={},n.connect..
etc at that address.I cloned the code from git, so its from the master repo.
-
I ran the same procedure on Xubuntu and MacOS, same result.
-
Thanks @ezra-sharp -- looks like the latest version is unstable, looking into it now.
-
For the record, I get similar yet little different errors
TypeError: io is undefined nodebb.min.js:8
TypeError: ajaxify is undefined kos.ddns.info:320
ReferenceError: templates is not defined nodebb.min.js:8
TypeError: socket is undefined footer.js:3
-
@tedr56 @ezra-sharp
./nodebb dev
will work in a pinch while I get this fixed.You can also go back to this revision
git reset --hard 033c5d572647986948c3b6be530afc27f04696e5
-
@julian awesome
good job.
-
Should be fixed in latest version. Thanks for spotting it @tedr, @ezra-sharp
-
I'm sorry to bring bad news, but my errors may have not the same origins.
TypeError: io is undefined nodebb.min.js:8
TypeError: ajaxify is undefined kos.ddns.info:320
ReferenceError: templates is not defined nodebb.min.js:8
TypeError: socket is undefined
What I don't understand is I cant find this famous nodebb.min.js anymore but still getting errors from it
Is this normal?
-
Indeed it is
It is no longer an actual file, but one that only exists in memory after NodeBB starts. If you navigate to
/nodebb.min.js
, what do you see? -
Suggested Topics
-
Unsolved NodeBB + GoDaddy
General Discussion • • Orbit Storm