So I get this 2 error:
error: A hook (orm
) failed to load!
error: error: password authentication failed for user "root"
This is my connections.js file:
module.exports.connections = {
PostgresqlServer: {
adapter: 'sails-postgresql',
host: 'localhost',
//user: 'Testeur1', // optional
//password: 'eniso2020', // optional
//database: 'PatientsDB' //optional
}
};
and this is the Patients.js file in the models folder:
module.exports = {
attributes: {
},
connection:'PostgresqlServer'
};
Sails v 0.12.14
Any idea what can cause this problem ?
Thanks