[Solved] NodeBB is running but not loading - Script error for vendor/async
-
Hello there,
I'm recently unable to load up the forum. When I check the dev console, I can see this error:
Uncaught Error: Script error for: vendor/async
http://requirejs.org/docs/errors.html#scripterrorWhat would that mean? How could I fix it? I'm using version 0.0.23-4 for the Lavender theme, and version 0.3.2 (commit 4309fe3) for NodeBB itself.
Thank you! -
-
Here is
package.json
's content:... "nodebb-plugin-mentions": "~0.4", "nodebb-plugin-markdown": "~0.4", "nodebb-widget-essentials": "~0.0", "nodebb-theme-vanilla": "~0.0.14", "nodebb-theme-cerulean": "~0.0.13", "nodebb-theme-lavender": "~0.0.22", ...
Should I use another commit?
-
@julian @leo the same as you, but I get websoket error too
<code>
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. nodebb.min.js:2
WebSocket connection to 'ws://www.example.com/socket.io/1/websocket/-CrTw6VKn9Z6gq04eBj7' failed: Error during WebSocket handshake: Unexpected response code: 502 socket.io.js:2
GET http://www.example.com/404 404 (The Page Not Found.) nodebb.min.js:8
Uncaught Error: Script error for: vendor/async
http://requirejs.org/docs/errors.html#scripterror nodebb.min.js:7
</code> -
@leo Yes, the package.json is incorrect for your version of NodeBB -- you should install the packages above by running:
$ npm install [email protected] $ npm install [email protected] $ npm install [email protected]
-
Unfortunately, that didn't seem to work... Still getting:
Uncaught Error: Script error for: vendor/async
http://requirejs.org/docs/errors.html#scripterror -
Just before that error, the dev console also shows a 404 error, not sure what might be causing it?
GET https://forum.shoutca.st/404 404 (Not Found)
h.load nodebb.min.js:8
_.load nodebb.min.js:8
w.load nodebb.min.js:7
w.fetch nodebb.min.js:7
w.check nodebb.min.js:7
w.enable nodebb.min.js:7
_.enable nodebb.min.js:8
(anonymous function) nodebb.min.js:7
(anonymous function) nodebb.min.js:7
z nodebb.min.js:7
w.enable nodebb.min.js:7
w.init nodebb.min.js:7
(anonymous function) nodebb.min.js:8 -
@leo said in NodeBB is running but not loading - Script error for vendor/async:
Just before that error, the dev console also shows a 404 error, not sure what might be causing it?
GET https://forum.shoutca.st/404 404 (Not Found)
h.load nodebb.min.js:8
_.load nodebb.min.js:8
w.load nodebb.min.js:7
w.fetch nodebb.min.js:7
w.check nodebb.min.js:7
w.enable nodebb.min.js:7
_.enable nodebb.min.js:8
(anonymous function) nodebb.min.js:7
(anonymous function) nodebb.min.js:7
z nodebb.min.js:7
w.enable nodebb.min.js:7
w.init nodebb.min.js:7
(anonymous function) nodebb.min.js:8Various clientside JS errors -- breaks webserver refactor plugin pages · Issue #1204 · NodeBB/NodeBB
Tagging @psychobunny templates.js:16 and jquery.forms.js:1 throw SyntaxError: syntax error app.js:363 throws TypeError: $(...).timeago is not a function $('span.timeago').timeago(); The last one breaks alot of admin pages...
GitHub (github.com)