Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 prebuilt Zombienet v1.3.124 fails with Node.js “Cannot find module” error #1971

Open
zerg-su opened this issue Mar 1, 2025 · 2 comments

Comments

@zerg-su
Copy link

zerg-su commented Mar 1, 2025

Issue Description

When running the ARM64 (aarch64) prebuilt Zombienet binary from release v1.3.124, the command immediately errors out with:

~/test# uname -m
aarch64

~/test# ./zombienet-linux-arm64 --version
node:internal/modules/cjs/loader:949
  throw err;
  ^

Error: Cannot find module '/snapshot/javascript/packages/cli/dist/cli.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:946:15)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
    at Module._load (node:internal/modules/cjs/loader:787:27)
    at Function.runMain (pkg/prelude/bootstrap.js:1979:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.5.0

This appears to be a packaging/build issue specific to the ARM64 binary, as uname -m confirms the system is indeed aarch64.

Steps to reproduce the issue

Steps to reproduce the issue

  1. Download the zombienet-linux-arm64 binary from the v1.3.124 release page.
  2. Make it executable: chmod +x zombienet-linux-arm64
  3. Run on arm machine: ./zombienet-linux-arm64 --version
  4. Observe the error: Error: Cannot find module '/snapshot/javascript/packages/cli/dist/cli.js'

Describe the results you received

The binary throws a Node.js error indicating a missing module ('Cannot find module '/snapshot/javascript/packages/cli/dist/cli.js'), rather than printing the expected version output.

Describe the results you expected

The command zombienet-linux-arm64 --version should print version information without error.

Zombienet version

v1.3.124 (prebuilt ARM64 binary)

Provider

Native

Provider version

Local (a VPS running an ARM64/aarch64 architecture)

Upstream Latest Release

Yes

Additional environment details

Architecture: aarch64 (verified by uname -m).
OS: Ubuntu 24.04 on a VPS.
The error is reproducible consistently on this environment.

Additional information

The x86_64 build reportedly works without issue on non-ARM systems.
This appears specifically related to the ARM64 build packaging, as the error references a missing module in the Node.js “snapshot” packaging.

Screenshots

No response

@pepoviola
Copy link
Collaborator

Hi @zerg-su, thanks for reporting and from your feedback. Quick question to narrow the scope, this the previous version works?
Thx!

@zerg-su
Copy link
Author

zerg-su commented Mar 2, 2025

I haven’t used ARM before, but I checked previous releases and tried version 1.3.20 when ARM support was introduced, and the same error occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants