question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

README.md building on console error

See original GitHub issue

I’m following the directions to build BlueWallet on the console:

git clone https://github.com/BlueWallet/BlueWallet.git cd BlueWallet npm install

However, I’m running into the following error:

node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.9/fse-v1.2.9-node-v79-darwin-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.9 and node@13.5.0 (node-v79 ABI, unknown) (falling back to source compile with node-gyp) Traceback (most recent call last): File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py”, line 50, in <module> sys.exit(gyp.script_main()) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py”, line 554, in script_main return main(sys.argv[1:]) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py”, line 547, in main return gyp_main(args) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py”, line 532, in gyp_main generator.GenerateOutput(flat_list, targets, data, params) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 2215, in GenerateOutput part_of_all=qualified_target in needed_targets) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 802, in Write self.WriteCopies(spec[‘copies’], extra_outputs, part_of_all) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 1145, in WriteCopies env = self.GetSortedXcodeEnv() File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 1885, in GetSortedXcodeEnv additional_settings) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 1616, in GetSortedXcodeEnv additional_settings) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 1527, in _GetXcodeEnv if XcodeVersion() >= ‘0500’ and not env.get(‘SDKROOT’): TypeError: ‘>=’ not supported between instances of ‘tuple’ and ‘str’ gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:305:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Darwin 19.2.0 gyp ERR! command “/usr/local/Cellar/node/13.5.0/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “configure” “–fallback-to-build” “–module=/Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64/fse.node” “–module_name=fse” “–module_path=/Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64” “–napi_version=5” “–node_abi_napi=napi” “–napi_build_version=0” “–node_napi_label=node-v79” gyp ERR! cwd /Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents gyp ERR! node -v v13.5.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute ‘/usr/local/Cellar/node/13.5.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64/fse.node --module_name=fse --module_path=/Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64 --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v79’ (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:305:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1028:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) node-pre-gyp ERR! System Darwin 19.2.0 node-pre-gyp ERR! command “/usr/local/Cellar/node/13.5.0/bin/node” “/Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp” “install” “–fallback-to-build” node-pre-gyp ERR! cwd /Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents node-pre-gyp ERR! node -v v13.5.0 node-pre-gyp ERR! node-pre-gyp -v v0.12.0 node-pre-gyp ERR! not ok Failed to execute ‘/usr/local/Cellar/node/13.5.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64/fse.node --module_name=fse --module_path=/Users/nicholaschen/Documents/Github/BlueWallet/node_modules/fsevents/lib/binding/Release/node-v79-darwin-x64 --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v79’ (1)

BlueWallet@4.8.1 postinstall /Users/nicholaschen/Documents/Github/BlueWallet rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path --hack; npm run releasenotes2json; npm run podinstall; npx jetify

not overwriting “buffer” not overwriting “events” not overwriting “process” not overwriting “stream-browserify” not overwriting “util” not overwriting “react-native-level-fs” not overwriting “path-browserify” not overwriting “readable-stream” not reinstalling inherits not overwriting shim.js. For the latest version, see rn-nodeify/shim.js

BlueWallet@4.8.1 releasenotes2json /Users/nicholaschen/Documents/Github/BlueWallet ./release-notes.sh > release-notes.txt; node -e ‘console.log(JSON.stringify(require(“fs”).readFileSync(“release-notes.txt”, “utf8”)));’ > release-notes.json

BlueWallet@4.8.1 podinstall /Users/nicholaschen/Documents/Github/BlueWallet ./podinstall.sh

AppCenter XCode Project:

Jetifier found 1507 file(s) to forward-jetify. Using 4 workers…

BlueWallet@4.8.1 prepare /Users/nicholaschen/Documents/Github/BlueWallet ./patches/fix_mangle.sh; git apply patches/minifier.js.patch; git apply patches/minify.js.patch

fix_mangle.sh done npm WARN eslint-plugin-react@7.12.4 requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN @typescript-eslint/eslint-plugin@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN @typescript-eslint/parser@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN eslint-plugin-react-native@3.6.0 requires a peer of eslint@^3.17.0 || ^4 || ^5 but none is installed. You must install peer dependencies yourself. npm WARN react-native-elements@0.19.0 requires a peer of react-native-vector-icons@^4.2.0 but none is installed. You must install peer dependencies yourself. npm WARN react-native-level-fs@3.0.1 requires a peer of asyncstorage-down@>=3.0.0 <5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-native-obscure@1.2.1 requires a peer of react-native@^0.41.2 but none is installed. You must install peer dependencies yourself. npm WARN react-native-qrcode-svg@5.1.2 requires a peer of react-native-svg@^6.5.2 but none is installed. You must install peer dependencies yourself. npm WARN react-native-webview@6.9.0 requires a peer of react-native@>=0.57 <0.60 but none is installed. You must install peer dependencies yourself. npm WARN react-shallow-testutils@2.0.0 requires a peer of react@^15.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-shallow-testutils@2.0.0 requires a peer of react-addons-test-utils@^15.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-test-render@1.1.2 requires a peer of react@15.x.x but none is installed. You must install peer dependencies yourself. npm WARN react-test-render@1.1.2 requires a peer of react-addons-test-utils@15.x.x but none is installed. You must install peer dependencies yourself. npm WARN BlueWallet@4.8.1 No repository field. npm WARN BlueWallet@4.8.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 install: node install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

audited 956497 packages in 199.825s

15 packages are looking for funding run npm fund for details

found 7 vulnerabilities (5 low, 2 moderate) run npm audit fix to fix them, or npm audit for details

I found a similar issue: https://github.com/BlueWallet/BlueWallet/issues/759

Am I missing any dependencies or configurations?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
issue-label-bot[bot]commented, Dec 31, 2019

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.77. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

0reactions
limpbrainscommented, Jun 20, 2020

Looks like switching to stable nodejs resolved the issue, I’m closing the ticket

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting AWS CodeBuild
Apache Maven builds reference artifacts from the wrong repository. Issue: When you use Maven with an AWS CodeBuild-provided Java build environment, ...
Read more >
Display the README.md file content in my website [closed]
I want to display the content of the README.md file of a GitHub repository on my website. As far as I know, I...
Read more >
The next step for LGTM.com: GitHub code scanning!
Once that configuration file is merged, the repository's source code (and future pull requests) will be scanned by GitHub code scanning.
Read more >
API - esbuild
The build API call operates on one or more files in the file system. ... watch: { onRebuild(error, result) { if (error) console.error('watch...
Read more >
logging-library - README.md - GitLab
README.md ... This project is already set up with a build system and test ... An error message should be printed with console.error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found