Skip to content

Precompiled binary for linux arm64 LE #67

@mattiasottosson

Description

@mattiasottosson

Hi!

I'm running @fastly/js-compute inside Docker on Apple Silicon, and unfortunately ran into some problems due to the missing precompiled binary.

ERROR: error during execution process:

file:///app/node_modules/@jakechampion/wizer/index.js:17
  throw new Error(`Unsupported platform: "${platformKey}". "@jakechampion/wizer does not have a precompiled binary for the platform/architecture you are using. You can open an issue on https://github.com/bytecodealliance/wizer/issues to request for your platform/architecture to be included."`);
        ^

Error: Unsupported platform: "linux arm64 LE". "@jakechampion/wizer does not have a precompiled binary for the platform/architecture you are using. You can open an issue on https://github.com/bytecodealliance/wizer/issues to request for your platform/architecture to be included."
    at pkgForCurrentPlatform (file:///app/node_modules/@jakechampion/wizer/index.js:17:9)
    at file:///app/node_modules/@jakechampion/wizer/index.js:20:13
    at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:409:24)
    at async file:///app/node_modules/@fastly/js-compute/js-compute-runtime-cli.js:20:38

Node.js v18.0.0.

If you believe this error is the result of a bug, please file an issue: https://github.com/fastly/cli/issues/new?labels=bug&template=bug_report.md

I thought I could get around it by manually installing wizer through cargo, but it dosen't seem to be a way to manually specify the path of the binary with @bytecode-alliance/wizer (which Fastly depends on) - so a precompiled binary for linux arm64 LE would be great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions