[Solved] NodeBB is running but not loading - Script error for vendor/async
-
-
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:8