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
I hit this issue, not in the examples, but in my own code after an upgrade.
I believe this is because version 0.6 bleno is basing on ES6 classes so older js code will not work.
It appears that the examples have not been updated to cater for this either.
Until code, e.g. my code and the examples are updated, they will not work with 0.6 and you'll need to use 0.5.1-4(https://www.npmjs.com/package/@abandonware/bleno/v/0.5.1-4) instead.
Hopefully @rzr can update the examples to work with ES6 classes since this is beyond me. I'm moving back to 0.5 until I can work out the changes needed.
In the root directory there are 3 test files which act as examples and have been updated to use ES6 classes. I was able to use those to understand enough to update my code to get it to work with 0.6, so I'm now on Debian bookworm with bleno 0.6.1 running my server. It would be good if the formal examples were updated too, but the test files sufficed for me.
Would be happy to updated the examples myself if rzr would be happy to accept these.
i ran into this issue as well, it would be very helpful for people learning how to use this module if the examples compiled correctly and were updated to ES6 classes.
when I run example pizza, I get the error:
The text was updated successfully, but these errors were encountered: