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
{{ message }}
Repository navigation
[bug] Host service fails to start on Linux — ERR_MODULE_NOT_FOUND: @mastra/core missing from @mastra/duckdb #4628
After upgrading the CLI to the latest version on Amazon Linux (EC2), superset start fails immediately. The host service crashes because @mastra/duckdb cannot resolve @mastra/core.
Reinstalling from scratch (wiping ~/superset and re-running the official installer) does not fix it. Manually installing @mastra/core with npm resolves that one error but reveals another missing package, then another.
Steps to reproduce
Install the CLI on a Linux x86_64 machine via curl -fsSL https://superset.sh/cli/install.sh | sh
Authenticate with superset auth login
Run superset start --port 41565
Error output
[ec2-user@ip-172-31-34-153 ~]$ superset start --port 41565
┌ superset start (Damien Garros's Team)
│
◑ Starting host service.node:internal/modules/esm/resolve:857
throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@mastra/core' imported from /home/ec2-user/superset/lib/node_modules/@mastra/duckdb/dist/index.js
at packageResolve (node:internal/modules/esm/resolve:857:9)
at moduleResolve (node:internal/modules/esm/resolve:926:18)
at defaultResolve (node:internal/modules/esm/resolve:1056:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:654:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:603:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:586:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:242:38)
at ModuleJob._link (node:internal/modules/esm/module_job:135:49) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v22.13.0
◇ Failed to start host service
Error: Host service failed to start within 10000ms
Closing as a duplicate of #5603, the consolidated tracker for stale platform-support issues from the July 2026 stale-issue sweep (no activity since 2026-06-01). If this still applies on a current build, comment on #5603 and we'll reopen.
Activity
fix: solve #4628 — ship @mastra/core with @mastra/duckdb in CLI dist …
Kitenite commentedon Jul 11, 2026
Closing as a duplicate of #5603, the consolidated tracker for stale
platform-supportissues from the July 2026 stale-issue sweep (no activity since 2026-06-01). If this still applies on a current build, comment on #5603 and we'll reopen.