@kasro @feeleebaire It has just been fixed a few minutes ago
Could you try again with the latest version of lumber? (v3.7.2)
If you want to fix your actual project without re-running the install command, add this line to your .env
file:
DATABASE_REJECT_UNAUTHORIZED=false
Then edit models/index.js
(here):
- databaseOptions.dialectOptions.ssl = true;
+ const rejectUnauthorized = process.env.DATABASE_REJECT_UNAUTHORIZED;
+ if (rejectUnauthorized && (JSON.parse(rejectUnauthorized.toLowerCase()) === false)) {
+ databaseOptions.dialectOptions.ssl = { rejectUnauthorized: false };
+ } else {
+ databaseOptions.dialectOptions.ssl = true;
+ }
Let me know if it fixed your issue