ERROR [2025-12-07 00:05:15.435 +0100] (Mastra CLI): Mastra wasn't able to build your project, We couldn't load "pg" from "@mastra/pg". Make sure "pg" is installed or add `pg` to your externals.
export const mastra = new Mastra({
bundler: {
externals: ["pg"],
}
})
domain: "DEPLOYER"
category: "USER"
details: {
"importFile": "pg",
"packageName": "pg"
}
ERROR [2025-12-07 00:05:15.435 +0100] (Mastra CLI): Mastra wasn't able to build your project, We couldn't load "pg" from "@mastra/pg". Make sure "pg" is installed or add `pg` to your externals.
export const mastra = new Mastra({
bundler: {
externals: ["pg"],
}
})
domain: "DEPLOYER"
category: "USER"
details: {
"importFile": "pg",
"packageName": "pg"
}