1602 / jugglingdb

Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...
http://1602.github.io/jugglingdb/
2.05k stars 241 forks source link

Potentially unhandled rejection [2] TypeError, when upgrading to new version of node. #438

Closed alexiskattan closed 8 years ago

alexiskattan commented 8 years ago

I have been using an older version of node (0.10.12). When I upgraded to a modern version, I get a few errors.

Potentially unhandled rejection [2] TypeError: _this.[classname].toObject is not a function
  at .......\node_modules\jugglingdb\lib\model.js:1003:21

toObject does not seem to work anymore. Anyone have an idea about how to fix it? Thank you.

1602 commented 8 years ago

This is fixed. Jugglingdb is working fine on latest (4,5,6 node versions)