GithubHelp home page GithubHelp logo

Comments (5)

cclauss avatar cclauss commented on June 15, 2024 1

Was this intended for me as a "fix"?

Yes. apt update && apt install python3 --yes && python3 --version was intended as a fix because slim does not pre-install Python. I do not think the problem is about arm vs.amd64 but is instead about slim.

from node-gyp.

cclauss avatar cclauss commented on June 15, 2024

What do you get when you:
% python3 --version

From your log:

12.65 npm ERR! gyp info using [email protected]

Please upgrade:
https://github.com/nodejs/node-gyp/releases

from node-gyp.

black-snow avatar black-snow commented on June 15, 2024

`docker run -it --rm --entrypoint=/bin/bash node:18-bookworm-slim@sha256:e01db0ed571851e2a67b11624abb90992af585db0afaff451972e64c604dffa1

python3 --version yields python3: No such file or directory on either image.

from node-gyp.

cclauss avatar cclauss commented on June 15, 2024

Oh, the joys of using slim...

apt update && apt install python3 --yes && python3 --version

from node-gyp.

black-snow avatar black-snow commented on June 15, 2024

@cclauss thanks for the quick reply.
Was this inteded for me as a "fix"? I know how to work around the issue, but it's probably not meant to be broken on a different arch, right? Or is it some node package that's requiring but missing some platform-specific binaries and hence needs to be built from source on ARM but not on amd64?

from node-gyp.

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.