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

glob-hasher-linux-arm64-gnu not available #725

Open
kensternberg-authentik opened this issue Feb 20, 2024 · 1 comment
Open

glob-hasher-linux-arm64-gnu not available #725

kensternberg-authentik opened this issue Feb 20, 2024 · 1 comment

Comments

@kensternberg-authentik
Copy link

Describe the bug

Attempting to build a Lage-based project on MacOS and a modern MAC inside a Docker container fails with this notice:

 Error: Cannot find module 'glob-hasher-linux-arm64-gnu'

That module is not listed at https://www.npmjs.com/package/glob-hasher?activeTab=dependencies

I cannot find any instructions for falling back to a non-native version of the glob-hasher

To Reproduce

  1. On an Apple M2 Max running MacOS 13.6.2, attempt to build a project using Lage inside a docker container.
  2. See error mentioned above

Expected behavior

That the module either exists, or that instructions on how to survive without it would be available.

  System:
    OS: macOS 13.6.2
    CPU: (12) arm64 Apple M2 Max
    Memory: 831.53 MB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.18.0/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    pnpm: 8.14.2 - ~/.nvm/versions/node/v18.18.0/bin/pnpm
  Managers:
    Cargo: 1.71.0 - ~/.cargo/bin/cargo
    Homebrew: 4.2.3 - /opt/homebrew/bin/brew
    pip3: 23.1.2 - ~/Library/Caches/pypoetry/virtualenvs/authentik-BoGTmjdo-py3.12/bin/pip3
    RubyGems: 3.0.3.1 - /usr/bin/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 14.0.3 - /usr/bin/gcc
    Git: 2.39.2 - /usr/bin/git
    Clang: 14.0.3 - /usr/bin/clang
    FFmpeg: 6.0 - /opt/homebrew/bin/ffmpeg
    Curl: 8.1.2 - /usr/bin/curl
  Virtualization:
    Docker: 23.0.5 - /usr/local/bin/docker
  IDEs:
    Emacs: 29.1 - /opt/homebrew/bin/emacs
    Vim: 9.0 - /usr/bin/vim
    Xcode: /undefined - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.20.4 - /usr/local/go/bin/go
    Perl: 5.30.3 - /usr/bin/perl
    Python: 3.12.0 - /Users/ken/Library/Caches/pypoetry/virtualenvs/authentik-BoGTmjdo-py3.12/bin/python
    Python3: 3.12.0 - /Users/ken/Library/Caches/pypoetry/virtualenvs/authentik-BoGTmjdo-py3.12/bin/python3
    Ruby: 2.6.10 - /usr/bin/ruby
    Rust: 1.71.0 - /Users/ken/.cargo/bin/rustc
  Databases:
    PostgreSQL: 14.9 - /opt/homebrew/bin/postgres
    SQLite: 3.39.5 - /usr/bin/sqlite3
  Browsers:
    Chrome: 121.0.6167.184
    Safari: 16.6
@kenotron
Copy link
Member

kenotron commented May 6, 2024

Probably something related to THIS: https://napi.rs/docs/cli/artifacts.en#how-does-it-work

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