dtoubelis / sails-cassandra

Cassanda database adapter for Sails.js
MIT License
26 stars 11 forks source link

Please ensure that `sails-cassandra` is a valid Sails/Waterline adapter #46

Closed hitubansal123 closed 6 years ago

hitubansal123 commented 6 years ago

I am getting this error

error: A hook (orm) failed to load! error: Error: There was an error attempting to load sails-cassandra. (Sails attempted to load this adapter because it is referenced by a datastore (someCassandraServer) in this app's configuration) Please ensure that sails-cassandra is a valid Sails/Waterline adapter, and that it is installed in this app.

dtoubelis commented 6 years ago

What version of Sails are you using? They changed the adapter API in version 1.+ but did not provide any spec for it. I made an attempt to deduce the requirements from their source code are and made changes to the latest version of the sails-cassandra but I had no chance to test it with Sails. If you could try the latest version and provide feedback that would be a great help.

dtoubelis commented 6 years ago

Closing this because of inactivity.