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

Adding Prerequisite #7278

Open
HiroyukiNaito opened this issue Dec 4, 2024 · 2 comments
Open

Adding Prerequisite #7278

HiroyukiNaito opened this issue Dec 4, 2024 · 2 comments
Labels
meta-feature-request Issues to track feature requests.

Comments

@HiroyukiNaito
Copy link
Contributor

Problem description

Currently, Loadestar needs more packages into Prerequisite

https://github.com/ChainSafe/lodestar?tab=readme-ov-file#prerequisites

  • make
  • build-essential or gcc

Solution description

Adding above packages into the document

Additional context

No response

@HiroyukiNaito HiroyukiNaito added the meta-feature-request Issues to track feature requests. label Dec 4, 2024
@nflaig
Copy link
Member

nflaig commented Dec 4, 2024

make and gcc should only be required for node versions without pre-builds, what node version do you use?

For more deftailed prerequisites list, we might wanna document those here https://github.com/ChainSafe/lodestar/blob/unstable/CONTRIBUTING.md#prerequisites instead.

@HiroyukiNaito
Copy link
Contributor Author

HiroyukiNaito commented Dec 4, 2024

This time, I used the newly installed wsl2 Ubuntu 24.04.1 LTS.

$ node -v v22.12.0

`
$ yarn install

gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/nnn/lodestar/node_modules/node-gyp/lib/build.js:203:23)
gyp ERR! stack at ChildProcess.emit (node:events:524:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Linux 5.15.133.1-microsoft-standard-WSL2
gyp ERR! command "/home/nnn/.nvm/versions/node/v22.12.0/bin/node" "/home/nnn/lodestar/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /home/nnn/lodestar/node_modules/bcrypto

After installling make and gcc, it was successfully installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta-feature-request Issues to track feature requests.
Projects
None yet
Development

No branches or pull requests

2 participants