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.

Unable to install on Raspberry Pi

See original GitHub issue

OS: Raspbian BitcoinD: 0.16.0 LND 0.4.2 Node.js version: 10.4.1 npm version: 6.1.0 Yarn: 1.7.0

yarn yarn install v1.7.0 [1/5] Validating package.json… [2/5] Resolving packages… success Already up-to-date. $ concurrently “npm run flow-typed” “npm run build-dll” “electron-builder install-app-deps” “node node_modules/fbjs-scripts/node/check-dev-engines.js package.json” [1] [1] > zap-desktop@0.1.1 build-dll /home/pi/source/zap-desktop [1] > cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.dev.dll.js --colors [1] [0] [0] > zap-desktop@0.1.1 flow-typed /home/pi/source/zap-desktop [0] > rimraf flow-typed/npm && flow-typed install --overwrite || true [0] [3] node node_modules/fbjs-scripts/node/check-dev-engines.js package.json exited with code 0 [2] electron-builder install-app-deps [2] [2] Install app deps [2] [2] Options: [2] --version Show version number [boolean] [2] --help Show help [boolean] [2] --platform The target platform [2] [choices: “linux”, “darwin”, “win32”] [default: “linux”] [2] --arch The target arch [2] [choices: “ia32”, “x64”, “armv7l”, “arm64”, “all”] [default: “arm”] [2] [2] Invalid values: [2] Argument: arch, Given: “arm”, Choices: “ia32”, “x64”, “armv7l”, “arm64”, “all” [2] electron-builder install-app-deps exited with code 1 [0] • Found 101 dependencies in package.json to install libdefs for. Searching… [0] • flow-typed cache not found, fetching from GitHub… [1] Hash: 8fa2e9246a73ce6dba61 [1] Version: webpack 3.7.1 [1] Time: 27341ms [1] Asset Size Chunks Chunk Names [1] renderer.dev.dll.js 4.58 MB 0 [emitted] [big] renderer [1] [./node_modules/moment/locale recursive ^./.$] ./node_modules/moment/locale ^./.$ 2.98 kB {0} [optional] [built] [1] [./node_modules/webpack/buildin/harmony-module.js] (webpack)/buildin/harmony-module.js 596 bytes {0} [built] [1] [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 517 bytes {0} [built] [1] [0] dll renderer 12 bytes {0} [built] [1] + 852 hidden modules [1] npm run build-dll exited with code 0 [0] • Installing 18 libDefs… [0] • axios_v0.16.x.js [0] └> ./flow-typed/npm/axios_v0.16.x.js [0] axios [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • enzyme_v2.3.x.js [0] └> ./flow-typed/npm/enzyme_v2.3.x.js [0] enzyme [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • flow-bin_v0.x.x.js [0] └> ./flow-typed/npm/flow-bin_v0.x.x.js [0] flow-bin [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • express_v4.x.x.js [0] └> ./flow-typed/npm/express_v4.x.x.js [0] express [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • minimist_v1.x.x.js [0] └> ./flow-typed/npm/minimist_v1.x.x.js [0] minimist [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • copy-to-clipboard_v3.x.x.js [0] └> ./flow-typed/npm/copy-to-clipboard_v3.x.x.js [0] copy-to-clipboard [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • redux_v3.x.x.js [0] └> ./flow-typed/npm/redux_v3.x.x.js [0] redux [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • chalk_v2.x.x.js [0] └> ./flow-typed/npm/chalk_v2.x.x.js [0] chalk [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • history_v4.x.x.js [0] └> ./flow-typed/npm/history_v4.x.x.js [0] history [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • jest_v20.x.x.js [0] └> ./flow-typed/npm/jest_v20.x.x.js [0] jest [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • rimraf_v2.x.x.js [0] └> ./flow-typed/npm/rimraf_v2.x.x.js [0] rimraf [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • lodash_v4.x.x.js [0] └> ./flow-typed/npm/lodash_v4.x.x.js [0] lodash [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • react-redux_v5.x.x.js [0] └> ./flow-typed/npm/react-redux_v5.x.x.js [0] react-redux [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • reselect_v3.x.x.js [0] └> ./flow-typed/npm/reselect_v3.x.x.js [0] reselect [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • react-router_v4.x.x.js [0] └> ./flow-typed/npm/react-router_v4.x.x.js [0] react-router [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • prop-types_v15.x.x.js [0] └> ./flow-typed/npm/prop-types_v15.x.x.js [0] prop-types [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • react-router-dom_v4.x.x.js [0] └> ./flow-typed/npm/react-router-dom_v4.x.x.js [0] react-router-dom [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • react-addons-test-utils_v15.x.x.js [0] └> ./flow-typed/npm/react-addons-test-utils_v15.x.x.js [0] react-addons-test-utils [0] /home/pi/source/zap-desktop/flow-typed/npm [0] • Generating stubs for untyped dependencies… [0] • satoshi-bitcoin@^1.0.4 [0] └> flow-typed/npm/satoshi-bitcoin_vx.x.x.js [0] • xtend@^4.0.1 [0] └> flow-typed/npm/xtend_vx.x.x.js [0] • electron-store@^1.3.0 [0] └> flow-typed/npm/electron-store_vx.x.x.js [0] • electron-debug@^1.2.0 [0] └> flow-typed/npm/electron-debug_vx.x.x.js [0] • source-map-support@^0.4.15 [0] └> flow-typed/npm/source-map-support_vx.x.x.js [0] • browserslist@^2.11.0 [0] └> flow-typed/npm/browserslist_vx.x.x.js [0] • babel-plugin-dev-expression@^0.2.1 [0] └> flow-typed/npm/babel-plugin-dev-expression_vx.x.x.js [0] • eslint-import-resolver-webpack@^0.8.4 [0] └> flow-typed/npm/eslint-import-resolver-webpack_vx.x.x.js [0] • file-loader@^0.11.1 [0] └> flow-typed/npm/file-loader_vx.x.x.js [0] • eslint-formatter-pretty@^1.3.0 [0] └> flow-typed/npm/eslint-formatter-pretty_vx.x.x.js [0] • stylelint-config-standard@^18.2.0 [0] └> flow-typed/npm/stylelint-config-standard_vx.x.x.js [0] • url-loader@^0.5.8 [0] └> flow-typed/npm/url-loader_vx.x.x.js [0] • d3-force@^1.1.0 [0] └> flow-typed/npm/d3-force_vx.x.x.js [0] • d3-zoom@^1.7.1 [0] └> flow-typed/npm/d3-zoom_vx.x.x.js [0] • qrcode.react@0.8.0 [0] └> flow-typed/npm/qrcode.react_vx.x.x.js [0] • react-inlinesvg@^0.6.2 [0] └> flow-typed/npm/react-inlinesvg_vx.x.x.js [0] • redux-thunk@^2.2.0 [0] └> flow-typed/npm/redux-thunk_vx.x.x.js [0] • react-router-redux@^5.0.0-alpha.6 [0] └> flow-typed/npm/react-router-redux_vx.x.x.js [0] • react-moment@^0.6.0 [0] └> flow-typed/npm/react-moment_vx.x.x.js [0] • babel-plugin-add-module-exports@^0.2.1 [0] └> flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js [0] • redux-electron-ipc@^1.1.10 [0] └> flow-typed/npm/redux-electron-ipc_vx.x.x.js [0] • babel-jest@^20.0.3 [0] └> flow-typed/npm/babel-jest_vx.x.x.js [0] • babel-preset-env@^1.5.1 [0] └> flow-typed/npm/babel-preset-env_vx.x.x.js [0] • babel-plugin-dynamic-import-webpack@^1.0.1 [0] └> flow-typed/npm/babel-plugin-dynamic-import-webpack_vx.x.x.js [0] • babel-preset-react@^6.24.1 [0] └> flow-typed/npm/babel-preset-react_vx.x.x.js [0] • font-awesome@^4.7.0 [0] └> flow-typed/npm/font-awesome_vx.x.x.js [0] • babel-preset-react-optimize@^1.0.1 [0] └> flow-typed/npm/babel-preset-react-optimize_vx.x.x.js [0] • babel-preset-stage-0@^6.24.1 [0] └> flow-typed/npm/babel-preset-stage-0_vx.x.x.js [0] • babel-register@^6.24.1 [0] └> flow-typed/npm/babel-register_vx.x.x.js [0] • babili-webpack-plugin@^0.1.2 [0] └> flow-typed/npm/babili-webpack-plugin_vx.x.x.js [0] • css-loader@^0.28.3 [0] └> flow-typed/npm/css-loader_vx.x.x.js [0] • babel-plugin-transform-class-properties@^6.24.1 [0] └> flow-typed/npm/babel-plugin-transform-class-properties_vx.x.x.js [0] • electron-devtools-installer@^2.2.1 [0] └> flow-typed/npm/electron-devtools-installer_vx.x.x.js [0] • eslint-config-airbnb@^16.1.0 [0] └> flow-typed/npm/eslint-config-airbnb_vx.x.x.js [0] • html-webpack-plugin@^2.29.0 [0] └> flow-typed/npm/html-webpack-plugin_vx.x.x.js [0] • enzyme-to-json@^1.5.1 [0] └> flow-typed/npm/enzyme-to-json_vx.x.x.js [0] • ps-node@^0.1.6 [0] └> flow-typed/npm/ps-node_vx.x.x.js [0] • redux-logger@^3.0.6 [0] └> flow-typed/npm/redux-logger_vx.x.x.js [0] • sass-loader@^6.0.6 [0] └> flow-typed/npm/sass-loader_vx.x.x.js [0] • spectron@^3.8.0 [0] └> flow-typed/npm/spectron_vx.x.x.js [0] • style-loader@^0.18.1 [0] └> flow-typed/npm/style-loader_vx.x.x.js [0] • babel-preset-react-hmre@^1.1.1 [0] └> flow-typed/npm/babel-preset-react-hmre_vx.x.x.js [0] • webpack-merge@^4.1.0 [0] └> flow-typed/npm/webpack-merge_vx.x.x.js [0] • electron@1.8.4 [0] └> flow-typed/npm/electron_vx.x.x.js [0] • react-modal@^2.2.2 [0] └> flow-typed/npm/react-modal_vx.x.x.js [0] • react-hot-loader@3.0.0-beta.6 [0] └> flow-typed/npm/react-hot-loader_vx.x.x.js [0] • moment-timezone@^0.5.13 [0] └> flow-typed/npm/moment-timezone_vx.x.x.js [0] • babel-loader@^7.1.0 [0] └> flow-typed/npm/babel-loader_vx.x.x.js [0] • babel-eslint@^8.2.1 [0] └> flow-typed/npm/babel-eslint_vx.x.x.js [0] • cross-env@^5.0.0 [0] └> flow-typed/npm/cross-env_vx.x.x.js [0] • electron-builder@^20.15.1 [0] └> flow-typed/npm/electron-builder_vx.x.x.js [0] • concurrently@^3.5.0 [0] └> flow-typed/npm/concurrently_vx.x.x.js [0] • eslint-plugin-import@^2.8.0 [0] └> flow-typed/npm/eslint-plugin-import_vx.x.x.js [0] • eslint-plugin-compat@^2.2.0 [0] └> flow-typed/npm/eslint-plugin-compat_vx.x.x.js [0] • babel-plugin-transform-es2015-classes@^6.24.1 [0] └> flow-typed/npm/babel-plugin-transform-es2015-classes_vx.x.x.js [0] • eslint-plugin-promise@^3.6.0 [0] └> flow-typed/npm/eslint-plugin-promise_vx.x.x.js [0] • eslint-plugin-react@^7.6.1 [0] └> flow-typed/npm/eslint-plugin-react_vx.x.x.js [0] • extract-text-webpack-plugin@^3.0.1 [0] └> flow-typed/npm/extract-text-webpack-plugin_vx.x.x.js [0] • cross-spawn@^5.1.0 [0] └> flow-typed/npm/cross-spawn_vx.x.x.js [0] • identity-obj-proxy@^3.0.0 [0] └> flow-typed/npm/identity-obj-proxy_vx.x.x.js [0] • react-test-renderer@^15.6.1 [0] └> flow-typed/npm/react-test-renderer_vx.x.x.js [0] • webpack-bundle-analyzer@^2.8.2 [0] └> flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js [0] • webpack@^3.7.1 [0] └> flow-typed/npm/webpack_vx.x.x.js [0] • fbjs-scripts@^0.8.0 [0] └> flow-typed/npm/fbjs-scripts_vx.x.x.js [0] • d3-selection@^1.2.0 [0] └> flow-typed/npm/d3-selection_vx.x.x.js [0] • devtron@^1.4.0 [0] └> flow-typed/npm/devtron_vx.x.x.js [0] • bitcoinjs-lib@^3.2.0 [0] └> flow-typed/npm/bitcoinjs-lib_vx.x.x.js [0] • eslint@^4.16.0 [0] └> flow-typed/npm/eslint_vx.x.x.js [0] • eslint-plugin-flowtype@^2.42.0 [0] └> flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js [0] • eslint-plugin-jest@^21.7.0 [0] └> flow-typed/npm/eslint-plugin-jest_vx.x.x.js [0] • flow-typed@^2.1.2 [0] └> flow-typed/npm/flow-typed_vx.x.x.js [0] • bitcore-lib@^0.14.0 [0] └> flow-typed/npm/bitcore-lib_vx.x.x.js [0] • webpack-dev-server@^2.5.0 [0] └> flow-typed/npm/webpack-dev-server_vx.x.x.js [0] • stylelint@^9.1.1 [0] └> flow-typed/npm/stylelint_vx.x.x.js [0] • babel-core@^6.24.1 [0] └> flow-typed/npm/babel-core_vx.x.x.js [0] • eslint-plugin-jsx-a11y@6.0.3 [0] └> flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js [0] • flow-runtime@^0.13.0 [0] └> flow-typed/npm/flow-runtime_vx.x.x.js [0] • jsdom@^11.0.0 [0] └> flow-typed/npm/jsdom_vx.x.x.js [0] • sinon@^2.3.5 [0] └> flow-typed/npm/sinon_vx.x.x.js [0] • babel-plugin-flow-runtime@^0.11.1 [0] └> flow-typed/npm/babel-plugin-flow-runtime_vx.x.x.js [0] • node-sass@^4.9.0 [0] └> flow-typed/npm/node-sass_vx.x.x.js [0] [0] !! No flow@v0.48.0-compatible libdefs found in flow-typed for the above untyped dependencies !! [0] [0] I’ve generated any-typed stubs for these packages, but consider submitting [0] libdefs for them to https://github.com/flowtype/flow-typed/ [0] [0] npm run flow-typed exited with code 0 error Command failed with exit code 1.


pi@raspberrypi:~/source/zap-desktop $ npm run install-grpc

zap-desktop@0.1.1 install-grpc /home/pi/source/zap-desktop cd app && npm run install-grpc

zap-desktop@0.1.1 install-grpc /home/pi/source/zap-desktop/app cd node_modules/grpc && git submodule update --init && npm run electron-build – --target=1.8.4

sh: 1: cd: can’t cd to node_modules/grpc npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! zap-desktop@0.1.1 install-grpc: cd node_modules/grpc && git submodule update --init && npm run electron-build -- --target=1.8.4 npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the zap-desktop@0.1.1 install-grpc script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2018-06-14T08_10_40_302Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! zap-desktop@0.1.1 install-grpc: cd app && npm run install-grpc npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the zap-desktop@0.1.1 install-grpc script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2018-06-14T08_10_40_372Z-debug.log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:33 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
ZapUser77commented, Jul 13, 2018

They said they’d fix the default “soon”. Running it manually (with nothing else running) yields out of memory… working with electron now.

0reactions
ZapUser77commented, Jul 19, 2018

This ticket can now be closed.

Last solutions: Zap doesn’t start LND when using custom. Start LND manually, and unlock the wallet. THEN If you get “Unable to connect to host: Deadline Exceeded” error, wait for BTC and LND to sync. “LNcli getinfo” should return " “synced_to_chain”: true,"

Read more comments on GitHub >

github_iconTop Results From Across the Web

SD card issue ... can't install Raspbian - Raspberry Pi Forums
Hello, I acquired RPi3 with an SD card with NOOBS preinstalled. Previously, I had no experience with NOOBS, so I did not know...
Read more >
[Bug]: Unable to install extension on raspberry pi · Issue #5002
Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Brave Local OS: Windows 11 Remote ......
Read more >
Installation script fails for raspberry pi and bullseye - GitLab
i've set up a new raspberry pi with the latest os which was updated to bullseye a few days ago. It seems like...
Read more >
Unable to install on Debian with Raspberry Pi Desktop - General
I am running Debian with Raspberry Pi Desktop which works fine but I cannot install node-red using the official script. It gave the...
Read more >
raspbian stretch - Unable to install a package on pi zero
Colleagues, I am trying to install a package using. pi@pizero:~ $ sudo apt-get install git Reading package lists... Done.
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