Giter Club home page Giter Club logo

Comments (2)

TooTallNate avatar TooTallNate commented on July 1, 2024 4

To explain a bit: at this time pkg can do cross-platform-compilation (build for Windows on Linux), but not cross-CPU-compilation (build for ARM on x64). pkg does work for ARM, but needs to be run on ARM hardware (Raspberry Pi, etc.).

As of vercel/pkg-fetch@67c4a7b pkg will now throw an error when attempting to do this.

from pkg.

grempe avatar grempe commented on July 1, 2024

Same issue. Build host is Mac OS.

$ pkg --target node7-linux-armv7 --out-dir dist .
> Fetching base Node.js binaries to: ~/.pkg-cache
  fetched-v7.6.0-macos-armv7   [====================] 100%
> Error! 404 Not Found
  https://github.com/zeit/pkg-fetch/releases/download/v1.9/uploaded-v1.9-node-v7.6.0-macos-armv7
> Asset 'v1.9/uploaded-v1.9-node-v7.6.0-macos-armv7' not found by direct link
> Not found in GitHub releases:
  {"tag":"v1.9","name":"uploaded-v1.9-node-v7.6.0-macos-armv7"}
> Building base binary from source:
  built-v7.6.0-macos-armv7
> Cloning Node.js repository from GitHub...
  git                          [====================] 100%
> Checking out v7.6.0
> Applying patches
> Compiling Node.js from sources...
  make                         [                    ] 0%

from pkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.