Skip to content

[bug] Host service fails to start on Linux — ERR_MODULE_NOT_FOUND: @mastra/core missing from @mastra/duckdb #4628

Closed as duplicate

Description

@dgarros

Description

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

  1. Install the CLI on a Linux x86_64 machine via curl -fsSL https://superset.sh/cli/install.sh | sh
  2. Authenticate with superset auth login
  3. 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

Environment

  • OS: Amazon Linux 2023 (EC2, x86_64)
  • Node.js: v22.13.0
  • CLI install method: official installer script (curl -fsSL https://superset.sh/cli/install.sh | sh)

Activity

  1. added a commit that references this issue on May 16, 2026
  2. Kitenite commented on Jul 11, 2026

    @Kitenite
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions