Please include the following information when submitting a bug report/issue:
git rev-parse HEAD from the main NodeBB directory)Database (mongo or redis) and it's version.
redis, Installed: 2:2.8.17-1+deb8u5
Exact steps to cause this issue
Thank you!
No matter what composer plugin i install, and if i uninstall the others - none works.
Hello @freakyy85 -- we can't reproduce this on our environments. We'll need a full stack trace please (frontend, since that seems to be the error?)
hi. i dont know how i can do a stacktrace? oO im new to all this node.js stuff. and i dont know javascript.
I'm using Plesk Onyx with the Node.js extension. Just enabling node.js for the vhost. I can set the environment to development but I still don't know how I can get a "stacktrace".
If the error is produced on client side as Julian suggest, you only need to open your browser console (ctrl+shift+i on chrome) go to console tab and check if an error is showed when trying to use the composer. If that happens just click on the error and copy the stacktrace.
TypeError: config['composer-default'] is undefined
nodebb.min.js:12
v.event.dispatch()
nodebb.min.js:2
v.event.add/g.handle()
nodebb.min.js:2
.trigger()
nodebb.min.js:3
.trigger/<()
nodebb.min.js:3
.each()
nodebb.min.js:1
v.prototype.each()
the same thing happens with ms edge and firefox.
TypeError: config['composer-default'] is undefined
nodebb.min.js:12
v.event.dispatch()
nodebb.min.js:2
v.event.add/g.handle()
nodebb.min.js:2
.trigger()
nodebb.min.js:3
.trigger/<()
nodebb.min.js:3
.each()
this is when using reply.
This is the line here. However, it is correctly defined for me.
I can't help. I don't know javascript but it doesnt work for me.
the url is https://forum.nextgamers.eu
hm sadly it just wont work. but id really like to use nodebb ;(
Your setup seems to have multiple issues not just composer.
First of all do you know if your host supports websockets? Websockets are required for NodeBB to work. This is not a bug. Just issues with your setup.
well it's debian 8.6 i think it supports websockets? I dont know why it shouldnt?
what other issues does the setup have?
It's Debian 8.6 with Plesk Onyx.
Are you using a proxy server to route requests to NodeBB like nginx or apache? If yes, are they setup for Socket.IO support?
Well I'm using apache2.4 and plesk onyx. Plesk onyx lets you setup node.js in a vhost i dont know if it supports sockets.io. I'm asking in their forums. will post back if i know more.
Or can you help me set that up?
The plesk support says:
When you run "NPM install" all required components should be installed. If you check node_modules directory for you nodebb, you will see
drwxr-xr-x 4 user_yrppmfmulk psacln 4096 Nov 17 12:02 websocket-driver
drwxr-xr-x 3 user_yrppmfmulk psacln 4096 Nov 17 12:02 websocket-extensions
at least.
And of course, you can install it for you nodebb manually with
-sh-4.2$ /opt/plesk/node/6/bin/npm install websocket
i now installed websocket manually but still it doesnt work still gives that error message:
cant connec tto wss://mydomain.tld/...
in the node_modules directory there are:
websocket/ websocket-driver/ websocket-extensions/
This issue tracker is not for installation support. Close this and continue the conversation on https://community.nodebb.org
Ok thank you.