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

Can't build from freshly cloned source #1339

Open
tverrbjelke opened this issue Apr 21, 2023 · 0 comments
Open

Can't build from freshly cloned source #1339

tverrbjelke opened this issue Apr 21, 2023 · 0 comments
Labels
anchor bug Something isn't working

Comments

@tverrbjelke
Copy link

tverrbjelke commented Apr 21, 2023

Description

Linux Debian 11 bullseye throws error while following steps of readme.

I am quite unexperienced with nodejs stuff and my system is clear and innocent when it comes to any toolchain for java script. I have full dev-stack when it comes to python or c++, but nothing for javascript-development.

I guess: the build-yourself info part of readme is missing information about dependency / tools needed to build all.
2nd Guess: maybe older versions work... I straight used commit eb00e55 (HEAD -> master, origin/master, origin/HEAD) and then retried with git checkout v1.3.9. Same problem. The output log I provided here is from HEAD.

Bear with me - I do not know javascript nor the needed tools. I only want to start using the wallet and I am used to build them from scratch.

Platform

Desktop (Linux)

Steps To Reproduce

preparing needed tools

https://www.linuxcapable.com/how-to-install-node-js-on-debian-linux/#Section-1-Install-Nodejs-from-Debian-Repository

mkdir -p ~/Documents/Projects/CodeProjects/Tools/nvm
cd ~/Documents/Projects/CodeProjects/Tools/nvm
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh > install.sh
bash install.sh
source ~/.bashrc
nvm --version # -> 0.39.3
nvm ls-remote
nvm install v14.21.3 # used by anchor wallet for eos
nvm install-latest-npm # -> 9.6.5
npm install -g yarn # yarn is added to PATH and resides in ~/.nvm/versions/node/v14.21.3/bin/yarn

logout/login to make sure PATH to yarn and nvm is actually really updated

yarn --version # -> 1.22.19

build anchor

see https://github.com/greymass/anchor#build-it-yourself

cd ~/Documents/Projects/CodeProjects/Tools
git clone https://github.com/greymass/anchor.git anchor
cd anchor
nvm use v14 # was actually already used

yarn --frozen-lockfile --ignore-engines

then it fetches (takes a while, slow internet) and then there are errors all around, which I do not understand (js noob am I)

Relevant log output

/Documents/Projects/CodeProjects/Tools/anchor$ yarn --frozen-lockfile --ignore-engines
yarn install v1.22.19
[1/5] Resolving packages...
[2/5] Fetching packages...
[3/5] Linking dependencies...
warning "@greymass/anchor-link-session-manager > [email protected]" has unmet peer dependency "ws@*".
warning " > [email protected]" has unmet peer dependency "@types/react@^15.0.0 || ^16.0.0".
warning " > [email protected]" has unmet peer dependency "prop-types@^15.x.x".
warning "webpack-dev-server > [email protected]" has incorrect peer dependency "webpack@^4.0.0".
[4/5] Building fresh packages...
[5/5] Cleaning modules...
$ node -r @babel/register internals/scripts/CheckNativeDep.js && npm run flow-typed && electron-builder install-app-deps && node node_modules/fbjs-scripts/node/check-dev-engines.js package.json
[#############################################################################################################################################################] 8131/8131Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating

> [email protected] flow-typed
> rimraf flow-typed/npm && flow-typed install --overwrite || true

[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
• Found 165 dependencies in package.json to install libdefs for. Searching...
• rebasing flow-typed cache...
• Installing 19 libDefs...
  • react-test-renderer_v16.x.x.js
> ./flow-typed/npm/react-test-renderer_v16.x.x.js
react-test-renderer
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • minimist_v1.x.x.js
> ./flow-typed/npm/minimist_v1.x.x.js
minimist
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • jest_v24.x.x.js
> ./flow-typed/npm/jest_v24.x.x.js
jest
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • flow-bin_v0.x.x.js
> ./flow-typed/npm/flow-bin_v0.x.x.js
flow-bin
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • express_v4.16.x.js
> ./flow-typed/npm/express_v4.16.x.js
express
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • enzyme_v3.x.x.js
> ./flow-typed/npm/enzyme_v3.x.x.js
enzyme
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • chalk_v2.x.x.js
> ./flow-typed/npm/chalk_v2.x.x.js
chalk
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • register_v7.x.x.js
> ./flow-typed/npm/@babel/register_v7.x.x.js
register
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm/@babel
  • polyfill_v7.x.x.js
> ./flow-typed/npm/@babel/polyfill_v7.x.x.js
polyfill
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm/@babel
  • react-router-dom_v4.x.x.js
> ./flow-typed/npm/react-router-dom_v4.x.x.js
react-router-dom
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • reselect_v4.x.x.js
> ./flow-typed/npm/reselect_v4.x.x.js
reselect
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • react-redux_v5.x.x.js
> ./flow-typed/npm/react-redux_v5.x.x.js
react-redux
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • redux_v4.x.x.js
> ./flow-typed/npm/redux_v4.x.x.js
redux
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • react-router_v4.x.x.js
> ./flow-typed/npm/react-router_v4.x.x.js
react-router
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • react-hot-loader_v4.x.x.js
> ./flow-typed/npm/react-hot-loader_v4.x.x.js
react-hot-loader
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • history_v4.x.x.js
> ./flow-typed/npm/history_v4.x.x.js
history
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • redux-mock-store_v1.x.x.js
> ./flow-typed/npm/redux-mock-store_v1.x.x.js
redux-mock-store
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • rimraf_v2.x.x.js
> ./flow-typed/npm/rimraf_v2.x.x.js
rimraf
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
  • webpack_v5.x.x.js
> ./flow-typed/npm/webpack_v5.x.x.js
webpack
/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/flow-typed/npm
• Generating stubs for untyped dependencies...
  • crypto-js@^3.1.9-1
> flow-typed/npm/crypto-js_vx.x.x.js
  • decimal.js@^10.0.1
> flow-typed/npm/decimal.js_vx.x.x.js
  • bip32-path@^0.4.2
> flow-typed/npm/bip32-path_vx.x.x.js
[email protected]
> flow-typed/npm/electron-context-menu_vx.x.x.js
  • electron-store@^2.0.0
> flow-typed/npm/electron-store_vx.x.x.js
  • humanize-duration@^3.20.1
> flow-typed/npm/humanize-duration_vx.x.x.js
  • eosjs2@https://github.com/aaroncox/eosjs2
> flow-typed/npm/eosjs2_vx.x.x.js
  • pretty-bytes@^5.1.0
> flow-typed/npm/pretty-bytes_vx.x.x.js
  • regenerator-runtime@^0.13.3
> flow-typed/npm/regenerator-runtime_vx.x.x.js
[email protected]
> flow-typed/npm/scrypt-async_vx.x.x.js
  • fast-sha256@^1.1.1
> flow-typed/npm/fast-sha256_vx.x.x.js
  • babel-core@^7.0.0-bridge.0
> flow-typed/npm/babel-core_vx.x.x.js
  • babel-plugin-dev-expression@^0.2.2
> flow-typed/npm/babel-plugin-dev-expression_vx.x.x.js
  • electron-debug@^2.0.0
> flow-typed/npm/electron-debug_vx.x.x.js
  • enzyme-to-json@^3.3.5
> flow-typed/npm/enzyme-to-json_vx.x.x.js
  • eslint-formatter-pretty@^1.3.0
> flow-typed/npm/eslint-formatter-pretty_vx.x.x.js
  • npm-logical-tree@^1.2.1
> flow-typed/npm/npm-logical-tree_vx.x.x.js
  • source-map-support@^0.5.6
> flow-typed/npm/source-map-support_vx.x.x.js
  • find-in-files@^0.5.0
> flow-typed/npm/find-in-files_vx.x.x.js
  • eslint-import-resolver-webpack@^0.10.0
> flow-typed/npm/eslint-import-resolver-webpack_vx.x.x.js
  • webpack-hot-middleware@^2.22.2
> flow-typed/npm/webpack-hot-middleware_vx.x.x.js
  • stylelint-config-standard@^18.2.0
> flow-typed/npm/stylelint-config-standard_vx.x.x.js
  • webpack-node-externals@^1.7.2
> flow-typed/npm/webpack-node-externals_vx.x.x.js
  • @greymass/keycert@^1.4.0
> flow-typed/npm/@greymass/keycert_vx.x.x.js
  • @babel/preset-typescript@^7.14.5
> flow-typed/npm/@babel/preset-typescript_vx.x.x.js
  • anchor-link@^3.5.0
> flow-typed/npm/anchor-link_vx.x.x.js
  • @greymass/keycert-pdf@^1.2.0
> flow-typed/npm/@greymass/keycert-pdf_vx.x.x.js
[email protected]
> flow-typed/npm/bip39_vx.x.x.js
  • dot-prop-immutable@^2.1.0
> flow-typed/npm/dot-prop-immutable_vx.x.x.js
  • @greymass/account-creation@^0.0.2
> flow-typed/npm/@greymass/account-creation_vx.x.x.js
  • eitherx@^1.0.2
> flow-typed/npm/eitherx_vx.x.x.js
  • electron-fetch@^1.7.4
> flow-typed/npm/electron-fetch_vx.x.x.js
  • @greymass/[email protected]
> flow-typed/npm/@greymass/anchor-link-session-manager_vx.x.x.js
  • eosio-signing-request@^2.5.1
> flow-typed/npm/eosio-signing-request_vx.x.x.js
  • i@^0.3.6
> flow-typed/npm/i_vx.x.x.js
  • i18next-sync-fs-backend@^1.1.1
> flow-typed/npm/i18next-sync-fs-backend_vx.x.x.js
  • i18next-electron-language-detector@^0.0.10
> flow-typed/npm/i18next-electron-language-detector_vx.x.x.js
  • p-queue@^6.6.2
> flow-typed/npm/p-queue_vx.x.x.js
  • react-debounce-render@^5.0.0
> flow-typed/npm/react-debounce-render_vx.x.x.js
  • react-idle-timer@^4.0.7
> flow-typed/npm/react-idle-timer_vx.x.x.js
  • react-blockies@^1.4.0
> flow-typed/npm/react-blockies_vx.x.x.js
  • react-router-redux@^5.0.0-alpha.9
> flow-typed/npm/react-router-redux_vx.x.x.js
  • react-qr-reader@^2.2.1
> flow-typed/npm/react-qr-reader_vx.x.x.js
  • react-json-view@^1.17.0
> flow-typed/npm/react-json-view_vx.x.x.js
  • redux-electron-ipc@^1.1.12
> flow-typed/npm/redux-electron-ipc_vx.x.x.js
  • @babel/plugin-proposal-class-properties@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-class-properties_vx.x.x.js
  • redux-persist-electron-storage@^1.1.2
> flow-typed/npm/redux-persist-electron-storage_vx.x.x.js
  • redux-thunk@^2.3.0
> flow-typed/npm/redux-thunk_vx.x.x.js
  • scrypt-js@^3.0.1
> flow-typed/npm/scrypt-js_vx.x.x.js
[email protected]
> flow-typed/npm/sjcl_vx.x.x.js
  • @babel/plugin-proposal-decorators@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-decorators_vx.x.x.js
  • @babel/plugin-proposal-do-expressions@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-do-expressions_vx.x.x.js
  • @babel/plugin-proposal-export-default-from@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-export-default-from_vx.x.x.js
  • @babel/plugin-proposal-logical-assignment-operators@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-logical-assignment-operators_vx.x.x.js
  • @babel/plugin-proposal-function-sent@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-function-sent_vx.x.x.js
  • @babel/plugin-proposal-export-namespace-from@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-export-namespace-from_vx.x.x.js
  • @babel/plugin-proposal-function-bind@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-function-bind_vx.x.x.js
  • @babel/plugin-proposal-numeric-separator@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-numeric-separator_vx.x.x.js
  • @babel/plugin-proposal-json-strings@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-json-strings_vx.x.x.js
  • @babel/plugin-proposal-nullish-coalescing-operator@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-nullish-coalescing-operator_vx.x.x.js
  • @babel/plugin-proposal-throw-expressions@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-throw-expressions_vx.x.x.js
  • @babel/plugin-proposal-optional-chaining@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-optional-chaining_vx.x.x.js
  • @babel/plugin-proposal-pipeline-operator@^7.0.0
> flow-typed/npm/@babel/plugin-proposal-pipeline-operator_vx.x.x.js
  • @babel/plugin-transform-modules-commonjs@^7.14.5
> flow-typed/npm/@babel/plugin-transform-modules-commonjs_vx.x.x.js
  • @babel/plugin-syntax-dynamic-import@^7.0.0
> flow-typed/npm/@babel/plugin-syntax-dynamic-import_vx.x.x.js
  • @babel/plugin-transform-classes@^7.0.0
> flow-typed/npm/@babel/plugin-transform-classes_vx.x.x.js
  • @babel/plugin-syntax-import-meta@^7.0.0
> flow-typed/npm/@babel/plugin-syntax-import-meta_vx.x.x.js
  • @babel/plugin-transform-react-constant-elements@^7.14.5
> flow-typed/npm/@babel/plugin-transform-react-constant-elements_vx.x.x.js
  • @babel/plugin-transform-react-inline-elements@^7.14.5
> flow-typed/npm/@babel/plugin-transform-react-inline-elements_vx.x.x.js
  • @babel/preset-stage-0@^7.8.3
> flow-typed/npm/@babel/preset-stage-0_vx.x.x.js
  • @babel/preset-flow@^7.14.5
> flow-typed/npm/@babel/preset-flow_vx.x.x.js
  • @babel/preset-react@^7.0.0
> flow-typed/npm/@babel/preset-react_vx.x.x.js
  • babel-jest@^23.4.2
> flow-typed/npm/babel-jest_vx.x.x.js
  • babel-plugin-add-module-exports@^1.0.4
> flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js
  • babel-plugin-transform-react-remove-prop-types@^0.4.24
> flow-typed/npm/babel-plugin-transform-react-remove-prop-types_vx.x.x.js
  • babel-loader@^8.0.0
> flow-typed/npm/babel-loader_vx.x.x.js
  • concurrently@^3.5.1
> flow-typed/npm/concurrently_vx.x.x.js
  • css-minimizer-webpack-plugin@^3.0.2
> flow-typed/npm/css-minimizer-webpack-plugin_vx.x.x.js
  • detect-port@^1.2.3
> flow-typed/npm/detect-port_vx.x.x.js
  • electron-notarize@^1.2.1
> flow-typed/npm/electron-notarize_vx.x.x.js
  • eslint-config-airbnb@^16.1.0
> flow-typed/npm/eslint-config-airbnb_vx.x.x.js
  • enzyme-adapter-react-16@^1.14.0
> flow-typed/npm/enzyme-adapter-react-16_vx.x.x.js
  • file-loader@^6.2.0
> flow-typed/npm/file-loader_vx.x.x.js
  • eslint-plugin-jest@^21.17.0
> flow-typed/npm/eslint-plugin-jest_vx.x.x.js
  • jest-fetch-mock@^2.1.2
> flow-typed/npm/jest-fetch-mock_vx.x.x.js
  • ncp@^2.0.0
> flow-typed/npm/ncp_vx.x.x.js
  • redux-logger@^3.0.6
> flow-typed/npm/redux-logger_vx.x.x.js
  • sass-loader@^12.1.0
> flow-typed/npm/sass-loader_vx.x.x.js
  • style-loader@^0.21.0
> flow-typed/npm/style-loader_vx.x.x.js
  • spectron@^14.0.0
> flow-typed/npm/spectron_vx.x.x.js
  • terser-webpack-plugin@^5.1.4
> flow-typed/npm/terser-webpack-plugin_vx.x.x.js
[email protected]
> flow-typed/npm/stylefmt_vx.x.x.js
  • webpack-merge@^5.8.0
> flow-typed/npm/webpack-merge_vx.x.x.js
  • asn1-ber@^1.0.9
> flow-typed/npm/asn1-ber_vx.x.x.js
  • axios@^0.19.0
> flow-typed/npm/axios_vx.x.x.js
[email protected]
> flow-typed/npm/eosjs_vx.x.x.js
  • @greymass/[email protected]
> flow-typed/npm/@greymass/eosio-resources_vx.x.x.js
[email protected]
> flow-typed/npm/i18next_vx.x.x.js
  • electron-updater@^4.3.1
> flow-typed/npm/electron-updater_vx.x.x.js
  • i18next-sprintf-postprocessor@^0.2.2
> flow-typed/npm/i18next-sprintf-postprocessor_vx.x.x.js
  • qrcode@^1.4.4
> flow-typed/npm/qrcode_vx.x.x.js
[email protected]
> flow-typed/npm/react-i18next_vx.x.x.js
  • react-sparklines@^1.7.0
> flow-typed/npm/react-sparklines_vx.x.x.js
  • redux-electron-store@^0.6.2
> flow-typed/npm/redux-electron-store_vx.x.x.js
  • @babel/cli@^7.14.8
> flow-typed/npm/@babel/cli_vx.x.x.js
  • uuid@^8.3.0
> flow-typed/npm/uuid_vx.x.x.js
  • @babel/plugin-transform-runtime@^7.14.5
> flow-typed/npm/@babel/plugin-transform-runtime_vx.x.x.js
  • @babel/preset-env@^7.0.0
> flow-typed/npm/@babel/preset-env_vx.x.x.js
  • babel-eslint@^9.0.0
> flow-typed/npm/babel-eslint_vx.x.x.js
  • cross-env@^5.1.6
> flow-typed/npm/cross-env_vx.x.x.js
  • css-loader@^3.0.0
> flow-typed/npm/css-loader_vx.x.x.js
  • cross-spawn@^6.0.5
> flow-typed/npm/cross-spawn_vx.x.x.js
  • electron-builder@^23.0.2
> flow-typed/npm/electron-builder_vx.x.x.js
  • electron-rebuild@^2.3.5
> flow-typed/npm/electron-rebuild_vx.x.x.js
  • electron@12
> flow-typed/npm/electron_vx.x.x.js
  • @babel/runtime@^7.15.4
> flow-typed/npm/@babel/runtime_vx.x.x.js
  • eslint-plugin-compat@^2.3.0
> flow-typed/npm/eslint-plugin-compat_vx.x.x.js
  • eslint-plugin-promise@^3.8.0
> flow-typed/npm/eslint-plugin-promise_vx.x.x.js
  • fbjs-scripts@^3.0.0
> flow-typed/npm/fbjs-scripts_vx.x.x.js
  • eslint-plugin-import@^2.12.0
> flow-typed/npm/eslint-plugin-import_vx.x.x.js
  • identity-obj-proxy@^3.0.0
> flow-typed/npm/identity-obj-proxy_vx.x.x.js
  • mini-css-extract-plugin@^2.1.0
> flow-typed/npm/mini-css-extract-plugin_vx.x.x.js
  • eslint-plugin-react@^7.9.1
> flow-typed/npm/eslint-plugin-react_vx.x.x.js
  • flow-runtime@^0.17.0
> flow-typed/npm/flow-runtime_vx.x.x.js
  • url-loader@^4.1.1
> flow-typed/npm/url-loader_vx.x.x.js
  • version-bump-prompt@^5.0.4
> flow-typed/npm/version-bump-prompt_vx.x.x.js
  • webpack-bundle-analyzer@^4.4.2
> flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js
  • webpack-cli@^4.7.2
> flow-typed/npm/webpack-cli_vx.x.x.js
[email protected]
> flow-typed/npm/webpack-dev-server_vx.x.x.js
  • @greymass/eosio@^0.6.4
> flow-typed/npm/@greymass/eosio_vx.x.x.js
  • @babel/core@^7.0.0
> flow-typed/npm/@babel/core_vx.x.x.js
  • react-input-range@^1.3.0
> flow-typed/npm/react-input-range_vx.x.x.js
  • eslint-plugin-flowtype@^2.49.3
> flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js
  • eslint-plugin-jsx-a11y@^6.0.3
> flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js
  • eslint@^4.19.1
> flow-typed/npm/eslint_vx.x.x.js
  • flow-typed@^2.4.0
> flow-typed/npm/flow-typed_vx.x.x.js
  • stylelint@^9.2.1
> flow-typed/npm/stylelint_vx.x.x.js
  • electron-log@^4.4.1
> flow-typed/npm/electron-log_vx.x.x.js
  • node-sass@^6.0.1
> flow-typed/npm/node-sass_vx.x.x.js
  • sinon@^5.1.0
> flow-typed/npm/sinon_vx.x.x.js
  • semantic-ui-react@^0.84.0
> flow-typed/npm/semantic-ui-react_vx.x.x.js
  • node-notifier@^5.4.3
> flow-typed/npm/node-notifier_vx.x.x.js

!! No [email protected] libdefs found in flow-typed for the above untyped dependencies !!

We've generated `any`-typed stubs for these packages, but consider submitting 
libdefs for them to https://github.com/flowtype/flow-typed/

  • electron-builder  version=23.0.3
  • installing production dependencies  platform=linux arch=x64 appDir=/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app
  ⨯ /home/tverrbjelke/.nvm/versions/node/v14.21.3/bin/node process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
Output:
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Error output:
error /home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid: Command failed.
Exit code: 1
Command: prebuild-install --runtime napi || node-gyp rebuild
Arguments: 
Directory: /home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid
Output:
prebuild-install WARN This package does not support N-API version 12.0.16 
prebuild-install WARN install No prebuilt binaries found (target=12.0.16 runtime=napi arch=x64 libc= platform=linux)
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/tverrbjelke/.electron-gyp/12.0.16/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/tverrbjelke/.electron-gyp/12.0.16',
gyp info spawn args   '-Dnode_gyp_dir=/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/tverrbjelke/.electron-gyp/12.0.16/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:325:16)
gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! System Linux 5.10.0-21-amd64
gyp ERR! command "/home/tverrbjelke/.nvm/versions/node/v14.21.3/bin/node" "/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"                                                                                                                                                      
gyp ERR! cwd /home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid
gyp ERR! node -v v14.21.3
gyp ERR! node-gyp -v v9.3.1
gyp ERR! not ok
  failedTask=installAppDeps stackTrace=Error: /home/tverrbjelke/.nvm/versions/node/v14.21.3/bin/node process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
Output:
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       Error output:
error /home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid: Command failed.
Exit code: 1
Command: prebuild-install --runtime napi || node-gyp rebuild
Arguments: 
Directory: /home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid
Output:
prebuild-install WARN This package does not support N-API version 12.0.16 
prebuild-install WARN install No prebuilt binaries found (target=12.0.16 runtime=napi arch=x64 libc= platform=linux)
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/tverrbjelke/.electron-gyp/12.0.16/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/tverrbjelke/.electron-gyp/12.0.16',
gyp info spawn args   '-Dnode_gyp_dir=/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/tverrbjelke/.electron-gyp/12.0.16/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:325:16)
gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! System Linux 5.10.0-21-amd64
gyp ERR! command "/home/tverrbjelke/.nvm/versions/node/v14.21.3/bin/node" "/home/tverrbjelke/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/app/node_modules/node-hid
gyp ERR! node -v v14.21.3
gyp ERR! node-gyp -v v9.3.1
gyp ERR! not ok
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           at ChildProcess.<anonymous> (/home/tverrbjelke/Documents/Projects/CodeProjects/Tools/anchor/node_modules/builder-util/src/util.ts:250:14)
    at Object.onceWrapper (events.js:520:26)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1088:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Contact Details

No response

Anything else?

No response

@tverrbjelke tverrbjelke added anchor bug Something isn't working labels Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anchor bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant