I'm teaching IoT to a class of students, which are experiencing a problem in the MQTT connection.
MQTT (mosca) node is not successfully connecting and is giving this error:
schemaerror: Expected "schema" to be an object or boolean
Apparently is related to jsonschema? We found this.
The interesting thing is that just 6 out of 20 are experiencing the issue, possibly unrelated to the version of npm or node js (nothing changed when updated)
Thanks in advance for your help!
Edit1: a quick fix found by a student is shifting to Aedes