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

Installation fails macOS Ventura 13.0.1 version #4767

Closed
AmanRaj1608 opened this issue Nov 15, 2022 · 8 comments
Closed

Installation fails macOS Ventura 13.0.1 version #4767

AmanRaj1608 opened this issue Nov 15, 2022 · 8 comments

Comments

@AmanRaj1608
Copy link

AmanRaj1608 commented Nov 15, 2022

Describe the bug

While installing and building on new macos version. This is due to the version of blst-ts package
Need to bump up from @chainsafe/blst:^0.2.4 to @chainsafe/blst:^0.2.6

Expected behavior
Should Install the packages and build.

Steps to Reproduce

  • Clone project
  • Install via yarn install --ignore-optional

Screenshots
image

  • OS: OSX Ventura
  • Version: 13.0.1
  • Branch: stable / unstable
  • Commit hash: 1ceaa20
@dapplion
Copy link
Contributor

@wemeetagain
Copy link
Member

@AmanRaj1608 can you retry with latest lodestar v1.4.2 ?

@patrickmao93
Copy link

looks like it's the good ol' "package for darwin-arm64 doesn't exist" issue?

Retrieving BLST native bindings /Users/patrickmao/repos/lodestar/node_modules/@chainsafe/blst/prebuild/darwin-arm64-93-binding.node ...
Error: Error importing BLST native bindings: 404 Not Found

Where can I get this prebuild for darwin-arm64?

@dapplion
Copy link
Contributor

looks like it's the good ol' "package for darwin-arm64 doesn't exist" issue?

Retrieving BLST native bindings /Users/patrickmao/repos/lodestar/node_modules/@chainsafe/blst/prebuild/darwin-arm64-93-binding.node ...
Error: Error importing BLST native bindings: 404 Not Found

Where can I get this prebuild for darwin-arm64?

We currently don't have the capability to provide darwin-arm64 prebuilds, see https://github.com/ChainSafe/blst-ts#supported-environments

@maschad
Copy link
Contributor

maschad commented Feb 22, 2023

looks like it's the good ol' "package for darwin-arm64 doesn't exist" issue?

Retrieving BLST native bindings /Users/patrickmao/repos/lodestar/node_modules/@chainsafe/blst/prebuild/darwin-arm64-93-binding.node ...
Error: Error importing BLST native bindings: 404 Not Found

Where can I get this prebuild for darwin-arm64?

You should be able to get a darwin-arm64 prebuild depending on your OS version since this fix upstream. We also released that fix in blst-ts v0.2.6 . We support up to the latest Long-Term Support build of Node - 18.14.2 and we have an issue for the current Node raised.

If you are still experiencing this issue, please ensure you have python installed.

@ankurdubey521
Copy link

Was facing the same issue, and creating a symlink called python pointing to the python3 binary solved the issue for me.

@philknows
Copy link
Member

Will close this issue with the solutions above working for most users. Feel free to re-open or create a new one if the above solutions no longer work.

@sergeyWh1te
Copy link

I confirm that it would be good to fix the script, where on mac os python is used instead of python3. In the meantime, this is not there, you can treat it like this:
Screenshot 2023-07-18 at 21 05 43

ln -s /opt/homebrew/bin/python3 /usr/local/bin/python

And happy hacking =)

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

8 participants