Skip to content

Cannot run MCP on linux/arm64 #16

@rayrayraykk

Description

@rayrayraykk

When trying to run this MCP on a Linux ARM64 environment (e.g., Apple M1/M2 host, docker buildx with linux/arm64), the process fails to start due to:

npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
node:internal/modules/cjs/loader:1865
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /root/.npm/_npx/168429ff20fa90e6/node_modules/@nut-tree-fork/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory
    at Object..node (node:internal/modules/cjs/loader:1865:18)
    at Module.load (node:internal/modules/cjs/loader:1441:32)
    at Function._load (node:internal/modules/cjs/loader:1263:12)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
    at Module.require (node:internal/modules/cjs/loader:1463:12)
    at require (node:internal/modules/helpers:147:16)
    at bindings (/root/.npm/_npx/168429ff20fa90e6/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/root/.npm/_npx/168429ff20fa90e6/node_modules/@nut-tree-fork/libnut-linux/index.js:5:33)
    at Module._compile (node:internal/modules/cjs/loader:1706:14) {
  code: 'ERR_DLOPEN_FAILED'
}

This works fine on linux/amd64, but linux/arm64 fails consistently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions