node-gyp-build error bootstrapping truffle #5518
Answered
by
its-everdred
its-everdred
asked this question in
Installation
-
While running error /Users/.../truffle/node_modules/leveldown: Command failed.
Exit code: 1
Command: node-gyp-build |
Beta Was this translation helpful? Give feedback.
Answered by
its-everdred
Sep 8, 2022
Replies: 1 comment
-
I was able to resolve this issue following these troubleshooting steps:
$ npm install -g node-gyp
$ pyenv global
3.10.4 If a 2.x version is not listed like the example above, find and install the latest version. Example: $ pyenv install 2.7.18 You should now find it in the versions list: $ pyenv versions
system
2.7.18
* 3.10.4 (set by /Users/yourname/.pyenv/version) Now add the new version to your version file: 2.7.18
3.10.4 You should now see that it is globally accessible: $ pyenv versions
system
* 2.7.18 (set by /Users/yourname/.pyenv/version)
* 3.10.4 (set by /Users/yourname/.pyenv/version) This resolved my issue building truffle. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
its-everdred
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to resolve this issue following these troubleshooting steps:
If a 2.x version is not listed like the example above, find and install the latest version. Example:
You should now find it in the versions list:
$ pyenv versions system 2.7.18 * 3.10.4 (set by /Users/yourname/.pyenv/version)
Now add the new version to your version file:
~/.pyenv/version
You should now see that it is globally accessible:
$ pyenv versions system * 2.7.1…