You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start yarn sitemap generate I get the error:
/srv/app/node_modules/@strapi/database/dist/index.js:1014
const { client } = db.config.connection;
^
TypeError: Cannot destructure property 'client' of 'db.config.connection' as it is undefined.
at getDialect (/srv/app/node_modules/@strapi/database/dist/index.js:1014:11)
at new Database (/srv/app/node_modules/@strapi/database/dist/index.js:6195:20)
at Database.init (/srv/app/node_modules/@strapi/database/dist/index.js:6181:16)
at Strapi.bootstrap (/srv/app/node_modules/@strapi/strapi/dist/Strapi.js:372:39)
at Strapi.load (/srv/app/node_modules/@strapi/strapi/dist/Strapi.js:426:16)
at async Command.<anonymous> (/srv/app/node_modules/strapi-plugin-sitemap/server/cli.js:25:17)
at async Command.parseAsync (/srv/app/node_modules/commander/lib/command.js:923:5)
Bug report
Describe the bug
When I start
yarn sitemap generate
I get the error:Steps to reproduce the behavior
yarn sitemap generate
Expected behavior
I use docker-compose.yml for strapi. Config:
System
The text was updated successfully, but these errors were encountered: