You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beside checking for node environment, module exports and using wc node module the spacebrew.js 1.3.0 doesn't work in node.
#140 - you use window without checking if it's defined (it's not in node)
this.debug = (window.getQueryString('debug') === "true" ? true : (options.debug || false));
#226 - you use browser style this.socket.onopen handlers while ws module requires this.socket.on('open'...
I fixed all that successfully published client on the cloud and then failed because of SyntaxError: Unexpected token u error in incoming message.
Are there plans to officially support node / Plask apps?
The text was updated successfully, but these errors were encountered:
Thanks for catching these issues. We hadn't tested the latest version of the .js library with node, which is probably why these issues crept in. We'll make sure to merge these updates back into the main repo after testing to make sure they don't break the lib on the browser. We'll also make an effort to test the library more thoroughly in future releases.
Beside checking for node environment, module exports and using wc node module the spacebrew.js 1.3.0 doesn't work in node.
#140 - you use window without checking if it's defined (it's not in node)
this.debug = (window.getQueryString('debug') === "true" ? true : (options.debug || false));
#226 - you use browser style
this.socket.onopen
handlers while ws module requiresthis.socket.on('open'...
I fixed all that successfully published client on the cloud and then failed because of
SyntaxError: Unexpected token u
error in incoming message.Are there plans to officially support node / Plask apps?
The text was updated successfully, but these errors were encountered: