MohGovIL / hamagen-react-native

Israel's Ministry of Health's COVID-19 Exposure Prevention App
https://health.gov.il/
MIT License
508 stars 153 forks source link

Please publish build instructions #235

Closed rr9845 closed 4 years ago

rr9845 commented 4 years ago

I'm arriving here after reading https://whatsup.org.il/forum/64312, please publish a building.md (or an equivilant for that) on how to build to the project from scratch.

This is also a variant of #204

building.md should show :

For each stable OS (Win10, Arch , Debian 10, Centos,Docker mac, etc) what packages / programs MUST be installed before building.

It should express each step needed to build the application.

What actions and options should be selected to build the program.

What is the expected checksum md5 and sha512 for the builds .

For each step what is the expected result.

Something like:

For debian 11 install npm and git.

example repository configuration (/etc/apt/sources.list):

deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free

The comment here is for Debian 11 , it will install git and npm

command : sudo apt-get install git npm

expected result:

sudo apt-get install git npm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version (1:2.27.0-1).
The following additional packages will be installed:
  gyp libjs-inherits libjs-is-typedarray libjs-psl libjs-typedarray-to-buffer libnode-dev libuv1-dev node-abbrev node-ajv node-ansi node-ansi-align node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy
  node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit node-aws-sign2 node-aws4 node-balanced-match node-bcrypt-pbkdf node-bl node-bluebird node-boxen node-brace-expansion node-builtin-modules node-builtins
  node-cacache node-call-limit node-camelcase node-caseless node-chalk node-chownr node-ci-info node-cli-boxes node-cliui node-clone node-co node-color-convert node-color-name node-colors node-columnify node-combined-stream
  node-concat-map node-concat-stream node-config-chain node-configstore node-console-control-strings node-copy-concurrently node-core-util-is node-cross-spawn node-crypto-random-string node-cyclist node-dashdash
  node-debbundle-es-to-primitive node-debug node-decamelize node-decompress-response node-deep-extend node-defaults node-define-properties node-delayed-stream node-delegates node-detect-indent node-detect-newline node-dot-prop
  node-duplexer3 node-duplexify node-ecc-jsbn node-editor node-encoding node-end-of-stream node-err-code node-errno node-es6-promise node-escape-string-regexp node-execa node-extend node-extsprintf node-fast-deep-equal
  node-find-up node-flush-write-stream node-forever-agent node-form-data node-from2 node-fs-vacuum node-fs-write-stream-atomic node-fs.realpath node-function-bind node-gauge node-genfun node-get-caller-file node-get-stream
  node-getpass node-glob node-got node-graceful-fs node-gyp node-har-schema node-har-validator node-has-flag node-has-symbol-support-x node-has-to-string-tag-x node-has-unicode node-hosted-git-info node-http-signature
  node-iconv-lite node-iferr node-import-lazy node-imurmurhash node-inflight node-inherits node-ini node-invert-kv node-ip node-ip-regex node-is-npm node-is-obj node-is-object node-is-path-inside node-is-plain-obj
  node-is-retry-allowed node-is-stream node-is-typedarray node-isarray node-isexe node-isstream node-isurl node-jsbn node-json-parse-better-errors node-json-schema node-json-schema-traverse node-json-stable-stringify
  node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream node-jsprim node-latest-version node-lazy-property node-lcid node-libnpx node-locate-path node-lockfile node-lodash node-lodash-packages
  node-lowercase-keys node-lru-cache node-make-dir node-mem node-mime node-mime-types node-mimic-fn node-mimic-response node-minimatch node-minimist node-mississippi node-mkdirp node-move-concurrently node-ms node-mute-stream
  node-nopt node-normalize-package-data node-npm-bundled node-npm-package-arg node-npm-run-path node-npmlog node-number-is-nan node-oauth-sign node-object-assign node-once node-opener node-os-locale node-os-tmpdir node-osenv
  node-p-cancelable node-p-finally node-p-is-promise node-p-limit node-p-locate node-p-timeout node-package-json node-parallel-transform node-path-exists node-path-is-absolute node-path-is-inside node-performance-now node-pify
  node-prepend-http node-process-nextick-args node-promise-inflight node-promise-retry node-promzard node-proto-list node-prr node-pseudomap node-psl node-pump node-pumpify node-punycode node-qs node-qw node-rc node-read
  node-read-package-json node-readable-stream node-registry-auth-token node-registry-url node-request node-require-directory node-require-main-filename node-resolve node-resolve-from node-retry node-rimraf node-run-queue
  node-safe-buffer node-semver node-semver-diff node-set-blocking node-sha node-shebang-command node-shebang-regex node-signal-exit node-slash node-slide node-sorted-object node-spdx-correct node-spdx-exceptions
  node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-stream-each node-stream-iterate node-stream-shift node-strict-uri-encode node-string-decoder node-string-width node-strip-ansi node-strip-eof
  node-strip-json-comments node-supports-color node-tar node-term-size node-text-table node-through node-through2 node-timed-out node-tough-cookie node-tunnel-agent node-tweetnacl node-typedarray node-typedarray-to-buffer
  node-uid-number node-unique-filename node-unique-string node-unpipe node-uri-js node-url-parse-lax node-url-to-options node-util-deprecate node-uuid node-validate-npm-package-license node-validate-npm-package-name
  node-verror node-wcwidth.js node-which node-which-module node-wide-align node-widest-line node-wrap-ansi node-wrappy node-write-file-atomic node-xdg-basedir node-xtend node-y18n node-yallist node-yargs node-yargs-parser
The following NEW packages will be installed:
  gyp libjs-inherits libjs-is-typedarray libjs-psl libjs-typedarray-to-buffer libnode-dev libuv1-dev node-abbrev node-ajv node-ansi node-ansi-align node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy
  node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit node-aws-sign2 node-aws4 node-balanced-match node-bcrypt-pbkdf node-bl node-bluebird node-boxen node-brace-expansion node-builtin-modules node-builtins
  node-cacache node-call-limit node-camelcase node-caseless node-chalk node-chownr node-ci-info node-cli-boxes node-cliui node-clone node-co node-color-convert node-color-name node-colors node-columnify node-combined-stream
  node-concat-map node-concat-stream node-config-chain node-configstore node-console-control-strings node-copy-concurrently node-core-util-is node-cross-spawn node-crypto-random-string node-cyclist node-dashdash
  node-debbundle-es-to-primitive node-debug node-decamelize node-decompress-response node-deep-extend node-defaults node-define-properties node-delayed-stream node-delegates node-detect-indent node-detect-newline node-dot-prop
  node-duplexer3 node-duplexify node-ecc-jsbn node-editor node-encoding node-end-of-stream node-err-code node-errno node-es6-promise node-escape-string-regexp node-execa node-extend node-extsprintf node-fast-deep-equal
  node-find-up node-flush-write-stream node-forever-agent node-form-data node-from2 node-fs-vacuum node-fs-write-stream-atomic node-fs.realpath node-function-bind node-gauge node-genfun node-get-caller-file node-get-stream
  node-getpass node-glob node-got node-graceful-fs node-gyp node-har-schema node-har-validator node-has-flag node-has-symbol-support-x node-has-to-string-tag-x node-has-unicode node-hosted-git-info node-http-signature
  node-iconv-lite node-iferr node-import-lazy node-imurmurhash node-inflight node-inherits node-ini node-invert-kv node-ip node-ip-regex node-is-npm node-is-obj node-is-object node-is-path-inside node-is-plain-obj
  node-is-retry-allowed node-is-stream node-is-typedarray node-isarray node-isexe node-isstream node-isurl node-jsbn node-json-parse-better-errors node-json-schema node-json-schema-traverse node-json-stable-stringify
  node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream node-jsprim node-latest-version node-lazy-property node-lcid node-libnpx node-locate-path node-lockfile node-lodash node-lodash-packages
  node-lowercase-keys node-lru-cache node-make-dir node-mem node-mime node-mime-types node-mimic-fn node-mimic-response node-minimatch node-minimist node-mississippi node-mkdirp node-move-concurrently node-ms node-mute-stream
  node-nopt node-normalize-package-data node-npm-bundled node-npm-package-arg node-npm-run-path node-npmlog node-number-is-nan node-oauth-sign node-object-assign node-once node-opener node-os-locale node-os-tmpdir node-osenv
  node-p-cancelable node-p-finally node-p-is-promise node-p-limit node-p-locate node-p-timeout node-package-json node-parallel-transform node-path-exists node-path-is-absolute node-path-is-inside node-performance-now node-pify
  node-prepend-http node-process-nextick-args node-promise-inflight node-promise-retry node-promzard node-proto-list node-prr node-pseudomap node-psl node-pump node-pumpify node-punycode node-qs node-qw node-rc node-read
  node-read-package-json node-readable-stream node-registry-auth-token node-registry-url node-request node-require-directory node-require-main-filename node-resolve node-resolve-from node-retry node-rimraf node-run-queue
  node-safe-buffer node-semver node-semver-diff node-set-blocking node-sha node-shebang-command node-shebang-regex node-signal-exit node-slash node-slide node-sorted-object node-spdx-correct node-spdx-exceptions
  node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-stream-each node-stream-iterate node-stream-shift node-strict-uri-encode node-string-decoder node-string-width node-strip-ansi node-strip-eof
  node-strip-json-comments node-supports-color node-tar node-term-size node-text-table node-through node-through2 node-timed-out node-tough-cookie node-tunnel-agent node-tweetnacl node-typedarray node-typedarray-to-buffer
  node-uid-number node-unique-filename node-unique-string node-unpipe node-uri-js node-url-parse-lax node-url-to-options node-util-deprecate node-uuid node-validate-npm-package-license node-validate-npm-package-name
  node-verror node-wcwidth.js node-which node-which-module node-wide-align node-widest-line node-wrap-ansi node-wrappy node-write-file-atomic node-xdg-basedir node-xtend node-y18n node-yallist node-yargs node-yargs-parser npm
0 upgraded, 285 newly installed, 0 to remove and 68 not upgraded.
Need to get 4,492 kB of archives.
After this operation, 29.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bullseye/main amd64 gyp all 0.1+20200513gitcaa6002-1 [236 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libjs-inherits all 2.0.4-1 [3,228 B]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libjs-is-typedarray all 1.0.0-2.1 [3,436 B]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libjs-psl all 1.7.0+ds-2 [60.3 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 libjs-typedarray-to-buffer all 3.0.3-3 [3,952 B]
Get:6 http://deb.debian.org/debian bullseye/main amd64 libuv1-dev amd64 1.38.0-3 [164 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 libnode-dev amd64 10.21.0~dfsg-1 [398 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 node-abbrev all 1.1.1-2 [4,812 B]
Get:9 http://deb.debian.org/debian bullseye/main amd64 node-fast-deep-equal all 1.1.0-1 [4,200 B]
Get:10 http://deb.debian.org/debian bullseye/main amd64 node-jsonify all 0.0.0-1 [5,408 B]
Get:11 http://deb.debian.org/debian bullseye/main amd64 node-json-stable-stringify all 1.0.1-1 [4,450 B]
Get:12 http://deb.debian.org/debian bullseye/main amd64 node-json-schema-traverse all 0.3.1-1 [3,926 B]
Get:13 http://deb.debian.org/debian bullseye/main amd64 node-punycode all 2.1.1-3 [9,396 B]
Get:14 http://deb.debian.org/debian bullseye/main amd64 node-uri-js all 4.2.2+dfsg-6 [38.1 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 node-ajv all 6.10.2-1 [72.2 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 node-ansi all 0.3.1-1 [9,464 B]
Get:17 http://deb.debian.org/debian bullseye/main amd64 node-ansi-regex all 5.0.0-1 [4,684 B]
Get:18 http://deb.debian.org/debian bullseye/main amd64 node-strip-ansi all 6.0.0-2 [4,044 B]
....

Preparing to unpack .../214-node-tunnel-agent_0.6.1-2_all.deb ...
Unpacking node-tunnel-agent (0.6.1-2) ...
Selecting previously unselected package node-uuid.
Preparing to unpack .../215-node-uuid_3.3.2-2_all.deb ...
Unpacking node-uuid (3.3.2-2) ...
Selecting previously unselected package node-request.
Preparing to unpack .../216-node-request_2.88.1-4_all.deb ...
Unpacking node-request (2.88.1-4) ...
Selecting previously unselected package node-tar.
Preparing to unpack .../217-node-tar_4.4.10+ds1-2_all.deb ...
Unpacking node-tar (4.4.10+ds1-2) ...
Selecting previously unselected package node-gyp.
Preparing to unpack .../218-node-gyp_7.0.0-1_all.deb ...
Unpacking node-gyp (7.0.0-1) ...
Selecting previously unselected package node-hosted-git-info.
Preparing to unpack .../219-node-hosted-git-info_2.8.5-1_all.deb ...
Unpacking node-hosted-git-info (2.8.5-1) ...
Selecting previously unselected package node-import-lazy.
Preparing to unpack .../220-node-import-lazy_3.0.0.REALLY.2.1.0-1_all.deb ...
Unpacking node-import-lazy (3.0.0.REALLY.2.1.0-1) ...
Selecting previously unselected package node-invert-kv.
Preparing to unpack .../221-node-invert-kv_3.0.1-1_all.deb ...
Unpacking node-invert-kv (3.0.1-1) ...
Selecting previously unselected package node-ip.
Preparing to unpack .../222-node-ip_1.1.5-5_all.deb ...
Unpacking node-ip (1.1.5-5) ...
Selecting previously unselected package node-is-npm.
Preparing to unpack .../223-node-is-npm_1.0.0-1_all.deb ...
Unpacking node-is-npm (1.0.0-1) ...
Selecting previously unselected package node-is-path-inside.
Preparing to unpack .../224-node-is-path-inside_1.0.1-1_all.deb ...
Unpacking node-is-path-inside (1.0.1-1) ...
Selecting previously unselected package node-json-parse-better-errors.
Preparing to unpack .../225-node-json-parse-better-errors_1.0.2-2_all.deb ...
Unpacking node-json-parse-better-errors (1.0.2-2) ...
Selecting previously unselected package node-jsonparse.
Preparing to unpack .../226-node-jsonparse_1.3.1-7_all.deb ...
Unpacking node-jsonparse (1.3.1-7) ...
Selecting previously unselected package node-through.
Preparing to unpack .../227-node-through_2.3.8-1_all.deb ...
Unpacking node-through (2.3.8-1) ...
Selecting previously unselected package node-jsonstream.
Preparing to unpack .../228-node-jsonstream_1.3.5-1_all.deb ...
Unpacking node-jsonstream (1.3.5-1) ...
Selecting previously unselected package node-minimist.
Preparing to unpack .../229-node-minimist_1.2.5-1_all.deb ...
Unpacking node-minimist (1.2.5-1) ...
Selecting previously unselected package node-strip-json-comments.
Preparing to unpack .../230-node-strip-json-comments_3.1.1-1_all.deb ...
Unpacking node-strip-json-comments (3.1.1-1) ...
Selecting previously unselected package node-rc.
Preparing to unpack .../231-node-rc_1.2.8-1_all.deb ...
Unpacking node-rc (1.2.8-1) ...
Selecting previously unselected package node-registry-url.
Preparing to unpack .../232-node-registry-url_3.1.0-1_all.deb ...
Unpacking node-registry-url (3.1.0-1) ...
Selecting previously unselected package node-registry-auth-token.
Preparing to unpack .../233-node-registry-auth-token_3.3.1-1_all.deb ...
Unpacking node-registry-auth-token (3.3.1-1) ...
Selecting previously unselected package node-package-json.
Preparing to unpack .../234-node-package-json_4.0.1-1_all.deb ...
Unpacking node-package-json (4.0.1-1) ...
Selecting previously unselected package node-latest-version.
Preparing to unpack .../235-node-latest-version_3.1.0-1_all.deb ...
Unpacking node-latest-version (3.1.0-1) ...
Selecting previously unselected package node-lazy-property.
Preparing to unpack .../236-node-lazy-property_1.0.0-3_all.deb ...
Unpacking node-lazy-property (1.0.0-3) ...
Selecting previously unselected package node-lcid.
Preparing to unpack .../237-node-lcid_1.0.0-1_all.deb ...
Unpacking node-lcid (1.0.0-1) ...
Selecting previously unselected package node-validate-npm-package-name.
Preparing to unpack .../238-node-validate-npm-package-name_3.0.0-1_all.deb ...
Unpacking node-validate-npm-package-name (3.0.0-1) ...
Selecting previously unselected package node-npm-package-arg.
Preparing to unpack .../239-node-npm-package-arg_6.1.1-1_all.deb ...
Unpacking node-npm-package-arg (6.1.1-1) ...
Selecting previously unselected package node-require-directory.
Preparing to unpack .../240-node-require-directory_2.1.1-1_all.deb ...
Unpacking node-require-directory (2.1.1-1) ...
Selecting previously unselected package node-require-main-filename.
Preparing to unpack .../241-node-require-main-filename_2.0.0-1_all.deb ...
Unpacking node-require-main-filename (2.0.0-1) ...
Selecting previously unselected package node-which-module.
Preparing to unpack .../242-node-which-module_2.0.0-1_all.deb ...
Unpacking node-which-module (2.0.0-1) ...
Selecting previously unselected package node-mimic-fn.
Preparing to unpack .../243-node-mimic-fn_3.0.0-1_all.deb ...
Unpacking node-mimic-fn (3.0.0-1) ...
Selecting previously unselected package node-mem.
Preparing to unpack .../244-node-mem_1.1.0-1_all.deb ...
Unpacking node-mem (1.1.0-1) ...
Selecting previously unselected package node-os-locale.
Preparing to unpack .../245-node-os-locale_4.0.0-1_all.deb ...
Unpacking node-os-locale (4.0.0-1) ...
Selecting previously unselected package node-yargs-parser.
Preparing to unpack .../246-node-yargs-parser_18.1.3-1_all.deb ...
Unpacking node-yargs-parser (18.1.3-1) ...
Selecting previously unselected package node-yargs.
Preparing to unpack .../247-node-yargs_15.3.1-1_all.deb ...
Unpacking node-yargs (15.3.1-1) ...
Selecting previously unselected package node-libnpx.
Preparing to unpack .../248-node-libnpx_10.2.1-2_all.deb ...
Unpacking node-libnpx (10.2.1-2) ...
Selecting previously unselected package node-lockfile.
Preparing to unpack .../249-node-lockfile_1.0.4-3_all.deb ...
Unpacking node-lockfile (1.0.4-3) ...
Selecting previously unselected package node-lodash.
Preparing to unpack .../250-node-lodash_4.17.15+dfsg-2_all.deb ...
Unpacking node-lodash (4.17.15+dfsg-2) ...
Selecting previously unselected package node-mute-stream.
Preparing to unpack .../251-node-mute-stream_0.0.8-2_all.deb ...
Unpacking node-mute-stream (0.0.8-2) ...
Selecting previously unselected package node-resolve.
Preparing to unpack .../252-node-resolve_1.15.1-3_all.deb ...
Unpacking node-resolve (1.15.1-3) ...
Selecting previously unselected package node-spdx-license-ids.
Preparing to unpack .../253-node-spdx-license-ids_3.0.5-1_all.deb ...
Unpacking node-spdx-license-ids (3.0.5-1) ...
Selecting previously unselected package node-spdx-exceptions.
Preparing to unpack .../254-node-spdx-exceptions_2.3.0-1_all.deb ...
Unpacking node-spdx-exceptions (2.3.0-1) ...
Selecting previously unselected package node-spdx-expression-parse.
Preparing to unpack .../255-node-spdx-expression-parse_3.0.0-1_all.deb ...
Unpacking node-spdx-expression-parse (3.0.0-1) ...
Selecting previously unselected package node-spdx-correct.
Preparing to unpack .../256-node-spdx-correct_3.1.1-1_all.deb ...
Unpacking node-spdx-correct (3.1.1-1) ...
Selecting previously unselected package node-validate-npm-package-license.
Preparing to unpack .../257-node-validate-npm-package-license_3.0.4-1_all.deb ...
Unpacking node-validate-npm-package-license (3.0.4-1) ...
Selecting previously unselected package node-normalize-package-data.
Preparing to unpack .../258-node-normalize-package-data_2.5.0-1_all.deb ...
Unpacking node-normalize-package-data (2.5.0-1) ...
Selecting previously unselected package node-npm-bundled.
Preparing to unpack .../259-node-npm-bundled_1.1.1-1_all.deb ...
Unpacking node-npm-bundled (1.1.1-1) ...
Selecting previously unselected package node-number-is-nan.
Preparing to unpack .../260-node-number-is-nan_2.0.0-1_all.deb ...
Unpacking node-number-is-nan (2.0.0-1) ...
Selecting previously unselected package node-opener.
Preparing to unpack .../261-node-opener_1.5.1-1_all.deb ...
Unpacking node-opener (1.5.1-1) ...
Selecting previously unselected package node-os-tmpdir.
Preparing to unpack .../262-node-os-tmpdir_1.0.2-1_all.deb ...
Unpacking node-os-tmpdir (1.0.2-1) ...
Selecting previously unselected package node-p-is-promise.
Preparing to unpack .../263-node-p-is-promise_3.0.0-1_all.deb ...
Unpacking node-p-is-promise (3.0.0-1) ...
Selecting previously unselected package node-pify.
Preparing to unpack .../264-node-pify_3.0.0-1_all.deb ...
Unpacking node-pify (3.0.0-1) ...
Selecting previously unselected package node-retry.
Preparing to unpack .../265-node-retry_0.12.0-1_all.deb ...
Unpacking node-retry (0.12.0-1) ...
Selecting previously unselected package node-promise-retry.
Preparing to unpack .../266-node-promise-retry_1.1.1-4_all.deb ...
Unpacking node-promise-retry (1.1.1-4) ...
Selecting previously unselected package node-read.
Preparing to unpack .../267-node-read_1.0.7-2_all.deb ...
Unpacking node-read (1.0.7-2) ...
Selecting previously unselected package node-promzard.
Preparing to unpack .../268-node-promzard_0.3.0-1_all.deb ...
Unpacking node-promzard (0.3.0-1) ...
Selecting previously unselected package node-pseudomap.
Preparing to unpack .../269-node-pseudomap_1.0.2-1_all.deb ...
Unpacking node-pseudomap (1.0.2-1) ...
Selecting previously unselected package node-qw.
Preparing to unpack .../270-node-qw_1.0.1-1_all.deb ...
Unpacking node-qw (1.0.1-1) ...
Selecting previously unselected package node-slash.
Preparing to unpack .../271-node-slash_3.0.0-1_all.deb ...
Unpacking node-slash (3.0.0-1) ...
Selecting previously unselected package node-read-package-json.
Preparing to unpack .../272-node-read-package-json_2.1.1-1_all.deb ...
Unpacking node-read-package-json (2.1.1-1) ...
Selecting previously unselected package node-resolve-from.
Preparing to unpack .../273-node-resolve-from_4.0.0-1_all.deb ...
Unpacking node-resolve-from (4.0.0-1) ...
Selecting previously unselected package node-semver-diff.
Preparing to unpack .../274-node-semver-diff_2.1.0-2_all.deb ...
Unpacking node-semver-diff (2.1.0-2) ...
Selecting previously unselected package node-sha.
Preparing to unpack .../275-node-sha_3.0.0-1_all.deb ...
Unpacking node-sha (3.0.0-1) ...
Selecting previously unselected package node-slide.
Preparing to unpack .../276-node-slide_1.1.6-2_all.deb ...
Unpacking node-slide (1.1.6-2) ...
Selecting previously unselected package node-sorted-object.
Preparing to unpack .../277-node-sorted-object_2.0.1-1_all.deb ...
Unpacking node-sorted-object (2.0.1-1) ...
Selecting previously unselected package node-stream-iterate.
Preparing to unpack .../278-node-stream-iterate_1.2.0-4_all.deb ...
Unpacking node-stream-iterate (1.2.0-4) ...
Selecting previously unselected package node-strict-uri-encode.
Preparing to unpack .../279-node-strict-uri-encode_2.0.0-1_all.deb ...
Unpacking node-strict-uri-encode (2.0.0-1) ...
Selecting previously unselected package node-text-table.
Preparing to unpack .../280-node-text-table_0.2.0-2_all.deb ...
Unpacking node-text-table (0.2.0-2) ...
Selecting previously unselected package node-uid-number.
Preparing to unpack .../281-node-uid-number_0.0.6-1_all.deb ...
Unpacking node-uid-number (0.0.6-1) ...
Selecting previously unselected package node-unpipe.
Preparing to unpack .../282-node-unpipe_1.0.0-1_all.deb ...
Unpacking node-unpipe (1.0.0-1) ...
Selecting previously unselected package node-xtend.
Preparing to unpack .../283-node-xtend_4.0.2-1_all.deb ...
Unpacking node-xtend (4.0.2-1) ...
Selecting previously unselected package npm.
Preparing to unpack .../284-npm_6.14.6+ds-1_all.deb ...
Unpacking npm (6.14.6+ds-1) ...
Setting up node-forever-agent (0.6.1-2) ...
Setting up node-unpipe (1.0.0-1) ...
Setting up node-qs (6.9.1+ds-1) ...
Setting up node-slide (1.1.6-2) ...
Setting up node-delayed-stream (1.0.0-4) ...
Setting up node-isstream (0.1.2+dfsg-1) ...
Setting up node-builtins (1.0.3-2) ...
Setting up node-stream-shift (1.0.1-1) ...
Setting up libuv1-dev:amd64 (1.38.0-3) ...
Setting up node-colors (1.4.0-1) ...
Setting up node-fs.realpath (1.0.0-1) ...
Setting up node-oauth-sign (0.9.0-2) ...
Setting up node-url-to-options (1.0.1-1) ...
Setting up node-jsbn (1.1.0-1) ...
Setting up node-object-assign (4.1.1-3) ...
Setting up node-extsprintf (1.3.0-1) ...
Setting up node-abbrev (1.1.1-2) ...
Setting up node-path-is-inside (1.0.2-1) ...
Setting up node-invert-kv (3.0.1-1) ...
Setting up node-pify (3.0.0-1) ...
Setting up node-p-limit (2.2.2-1) ...
Setting up node-yallist (4.0.0-1) ...
Setting up libjs-inherits (2.0.4-1) ...
Setting up node-p-cancelable (0.3.0-1) ...
Setting up node-ansi-regex (5.0.0-1) ...
Setting up node-p-is-promise (3.0.0-1) ...
Setting up node-timed-out (4.0.1-5) ...
Setting up node-strip-json-comments (3.1.1-1) ...
Setting up libnode-dev:amd64 (10.21.0~dfsg-1) ...
Setting up node-slash (3.0.0-1) ...
Setting up node-util-deprecate (1.0.2-1) ...
Setting up node-editor (1.0.0-2) ...
Setting up node-retry (0.12.0-1) ...
Setting up node-get-caller-file (1.0.2-1) ...
Setting up node-require-main-filename (2.0.0-1) ...
Setting up node-concat-map (0.0.1-2) ...
Setting up node-import-lazy (3.0.0.REALLY.2.1.0-1) ...
Setting up node-is-retry-allowed (1.1.0-1) ...
Setting up node-assert-plus (1.0.0-2) ...
Setting up node-ansistyles (0.1.3-2) ...
Setting up node-delegates (1.0.0-2) ...
Setting up node-xdg-basedir (3.0.0-1) ...
Setting up node-co (4.6.0-3) ...
Setting up node-isexe (2.0.0-4) ...
Setting up node-is-obj (1.0.1-2) ...
Setting up node-resolve (1.15.1-3) ...
Setting up node-jsonparse (1.3.1-7) ...
Setting up node-path-exists (4.0.0-2) ...
Setting up node-qw (1.0.1-1) ...
Setting up node-tweetnacl (1.0.3+dfsg-1) ...
Setting up node-escape-string-regexp (4.0.0-1) ...
Setting up node-through (2.3.8-1) ...
Setting up node-genfun (5.0.0-1) ...
Setting up node-p-locate (2.0.0-1) ...
Setting up node-which-module (2.0.0-1) ...
Setting up node-decamelize (4.0.0-1) ...
Setting up node-ci-info (2.0.0-1) ...
Setting up node-aws-sign2 (0.7.1-2) ...
Setting up node-pseudomap (1.0.2-1) ...
Setting up node-color-name (1.1.4-1) ...
Setting up node-bluebird (3.7.2+dfsg1-1) ...
Setting up node-console-control-strings (1.1.0-2) ...
Setting up node-camelcase (5.3.1-1) ...
Setting up node-uuid (3.3.2-2) ...
Setting up node-extend (3.0.2-1) ...
Setting up node-jsonstream (1.3.5-1) ...
Setting up node-lazy-property (1.0.0-3) ...
Setting up node-minimist (1.2.5-1) ...
Setting up node-aws4 (1.10.0-1) ...
Setting up node-yargs-parser (18.1.3-1) ...
Setting up node-prepend-http (3.0.1-1) ...
Setting up node-typedarray (0.0.6-1) ...
Setting up node-dashdash (1.14.1-3) ...
Setting up node-function-bind (1.1.1+repack-1) ...
Setting up node-clone (2.1.2-2) ...
Setting up node-iferr (1.0.2-1) ...
Setting up node-chownr (1.1.3-3) ...
Setting up node-has-flag (4.0.0-1) ...
Setting up node-validate-npm-package-name (3.0.0-1) ...
Setting up node-os-tmpdir (1.0.2-1) ...
Setting up node-lodash-packages (4.17.15+dfsg-2) ...
Setting up libjs-psl (1.7.0+ds-2) ...
Setting up node-json-schema-traverse (0.3.1-1) ...
Setting up node-asap (2.0.6-2) ...
Setting up node-mime (2.4.5+dfsg+~cs2.46.0-1) ...
Setting up node-inherits (2.0.4-1) ...
Setting up node-builtin-modules (3.1.0-1) ...
Setting up node-path-is-absolute (2.0.0-1) ...
Setting up node-locate-path (5.0.0-2) ...
Setting up node-ini (1.3.5-1) ...
Setting up node-iconv-lite (0.5.1-3) ...
Setting up node-is-npm (1.0.0-1) ...
Setting up node-ecc-jsbn (0.2.0-2) ...
Setting up node-safe-buffer (5.2.0-1) ...
Setting up node-promise-inflight (1.0.1-1) ...
Setting up node-combined-stream (1.0.8-1) ...
Setting up node-json-stringify-safe (5.0.1+repack-2) ...
Setting up node-json-parse-better-errors (1.0.2-2) ...
Setting up node-strict-uri-encode (2.0.0-1) ...
Setting up node-y18n (4.0.0-2) ...
Setting up node-detect-newline (3.1.0-1) ...
Setting up node-fast-deep-equal (1.1.0-1) ...
Setting up node-shebang-regex (2.0.0-1) ...
Setting up node-har-schema (2.0.0-3) ...
Setting up node-mime-types (2.1.25-1) ...
Setting up node-performance-now (2.1.0+debian-1) ...
Setting up node-err-code (2.0.0+dfsg-1) ...
Setting up node-resolve-from (4.0.0-1) ...
Setting up node-balanced-match (1.0.0-1) ...
Setting up node-ansi (0.3.1-1) ...
Setting up node-brace-expansion (1.1.11-1) ...
Setting up node-is-object (1.0.1-1) ...
Setting up node-is-stream (1.1.0-1) ...
Setting up node-spdx-exceptions (2.3.0-1) ...
Setting up node-deep-extend (0.6.0-1) ...
Setting up node-p-finally (1.0.0-2) ...
Setting up node-strip-ansi (6.0.0-2) ...
Setting up node-set-blocking (2.0.0-1) ...
Setting up node-prr (1.0.1-1) ...
Setting up node-tunnel-agent (0.6.1-2) ...
Setting up node-npm-bundled (1.1.1-1) ...
Setting up node-uid-number (0.0.6-1) ...
Setting up node-signal-exit (3.0.3-1) ...
Setting up node-cyclist (1.0.1-3) ...
Setting up node-which (2.0.2-2) ...
Setting up node-lcid (1.0.0-1) ...
Setting up node-wrappy (1.0.2-1) ...
Setting up node-text-table (0.2.0-2) ...
Setting up node-asynckit (0.4.0-3) ...
Setting up node-proto-list (1.2.4-1) ...
Setting up node-require-directory (2.1.1-1) ...
Setting up node-ip (1.1.5-5) ...
Setting up node-dot-prop (5.2.0-1) ...
Setting up node-punycode (2.1.1-3) ...
Setting up node-defaults (1.0.3-2) ...
Setting up node-mute-stream (0.0.8-2) ...
Setting up node-mimic-response (2.1.0-1) ...
Setting up node-duplexer3 (0.1.4-5) ...
Setting up node-stream-iterate (1.2.0-4) ...
Setting up node-number-is-nan (2.0.0-1) ...
Setting up node-graceful-fs (4.2.4-1) ...
Setting up node-jsonify (0.0.0-1) ...
Setting up node-json-stable-stringify (1.0.1-1) ...
Setting up node-hosted-git-info (2.8.5-1) ...
Setting up node-aproba (2.0.0-1) ...
Setting up node-mimic-fn (3.0.0-1) ...
Setting up node-ip-regex (4.1.0-2) ...
Setting up node-rc (1.2.8-1) ...
Setting up node-crypto-random-string (3.2.0-1) ...
Setting up node-spdx-license-ids (3.0.5-1) ...
Setting up node-string-decoder (1.3.0-1) ...
Setting up node-is-path-inside (1.0.1-1) ...
Setting up node-mkdirp (0.5.1-2) ...
Setting up node-run-queue (1.0.3-1) ...
Setting up node-call-limit (1.1.1-1) ...
Setting up node-core-util-is (1.0.2-2) ...
Setting up node-json-schema (0.2.3-1) ...
Setting up node-uri-js (4.2.2+dfsg-6) ...
Setting up node-minimatch (3.0.4-4) ...
Setting up node-cli-boxes (2.2.0-3) ...
Setting up node-opener (1.5.1-1) ...
Setting up node-archy (1.0.0-3) ...
Setting up node-caseless (0.12.1-1) ...
Setting up node-imurmurhash (0.1.4-1) ...
Setting up node-xtend (4.0.2-1) ...
Setting up node-p-timeout (1.2.0-1) ...
Setting up node-verror (1.10.0-1) ...
Setting up node-getpass (0.1.7-1) ...
Setting up node-encoding (0.1.12-3) ...
Setting up node-config-chain (1.1.12-1) ...
Setting up node-read (1.0.7-2) ...
Setting up node-detect-indent (6.0.0-1) ...
Setting up node-nopt (3.0.6-4) ...
Setting up node-npm-run-path (2.0.2-2) ...
Setting up node-asn1 (0.2.3-2) ...
Setting up node-has-symbol-support-x (1.4.1+dfsg-1) ...
Setting up node-sorted-object (2.0.1-1) ...
Setting up node-color-convert (1.9.3-1) ...
Setting up node-lodash (4.17.15+dfsg-2) ...
Setting up node-debbundle-es-to-primitive (1.2.1+~cs8.3.13-1) ...
Setting up node-isarray (2.0.5-1) ...
Setting up node-osenv (0.1.5-1) ...
Setting up node-is-plain-obj (1.1.0-1) ...
Setting up node-ms (2.1.2+~cs0.7.31-1) ...
Setting up node-shebang-command (1.2.0-1) ...
Setting up libjs-is-typedarray (1.0.0-2.1) ...
Setting up node-lowercase-keys (2.0.0-1) ...
Setting up node-decompress-response (6.0.0-1) ...
Setting up node-es6-promise (4.2.8-7) ...
Setting up node-strip-eof (1.0.0-2) ...
Setting up node-process-nextick-args (2.0.0-1) ...
Setting up node-semver (7.1.3-1) ...
Setting up node-has-unicode (2.0.1-2) ...
Setting up node-fs-write-stream-atomic (1.0.10-4) ...
Setting up gyp (0.1+20200513gitcaa6002-1) ...
Setting up node-readable-stream (3.4.0-2) ...
Setting up node-ssri (8.0.0-1) ...
Setting up node-through2 (3.0.1-2) ...
Setting up node-lru-cache (5.1.1-5) ...
Setting up node-bcrypt-pbkdf (1.0.2-1) ...
Setting up node-promise-retry (1.1.1-4) ...
Setting up node-mem (1.1.0-1) ...
Setting up node-supports-color (6.1.0-2) ...
Setting up node-define-properties (1.1.3-1) ...
Setting up node-once (1.4.0-3) ...
Setting up node-psl (1.7.0+ds-2) ...
Setting up node-jsprim (1.4.1-1) ...
Setting up node-sha (3.0.0-1) ...
Setting up node-url-parse-lax (1.0.0-1) ...
Setting up node-flush-write-stream (2.0.0-2) ...
Setting up node-ajv (6.10.2-1) ...
Setting up node-are-we-there-yet (1.1.5-1) ...
Setting up node-errno (0.1.7-2) ...
Setting up node-find-up (4.1.0-2) ...
Setting up node-semver-diff (2.1.0-2) ...
Setting up node-unique-string (1.0.0-2) ...
Setting up node-debug (4.1.1+~cs4.1.5-1) ...
Setting up node-from2 (2.3.0-1) ...
Setting up node-make-dir (3.0.2-1) ...
Setting up node-promzard (0.3.0-1) ...
Setting up node-wcwidth.js (1.0.0-1) ...
Setting up node-unique-filename (1.1.1+ds-1) ...
Setting up node-cross-spawn (7.0.2-1) ...
Setting up node-ansi-styles (4.2.1-1) ...
Setting up node-form-data (3.0.0-2) ...
Setting up node-lockfile (1.0.4-3) ...
Setting up node-chalk (2.4.2-1) ...
Setting up node-spdx-expression-parse (3.0.0-1) ...
Setting up node-parallel-transform (1.1.0-2) ...
Setting up node-registry-url (3.1.0-1) ...
Setting up node-concat-stream (2.0.0-1) ...
Setting up node-is-typedarray (1.0.0-2.1) ...
Setting up libjs-typedarray-to-buffer (3.0.3-3) ...
Setting up node-registry-auth-token (3.3.1-1) ...
Setting up node-tar (4.4.10+ds1-2) ...
Setting up node-inflight (1.0.6-1) ...
Setting up node-has-to-string-tag-x (1.4.1+dfsg-1) ...
Setting up node-tough-cookie (3.0.0-1) ...
Setting up node-npm-package-arg (6.1.1-1) ...
Setting up node-isurl (4.0.1-2) ...
Setting up node-string-width (4.2.0-1) ...
Setting up node-sshpk (1.16.1+dfsg-2) ...
Setting up node-bl (4.0.2-1) ...
Setting up node-har-validator (5.1.3-1) ...
Setting up node-end-of-stream (1.4.4-1) ...
Setting up node-pump (3.0.0-3) ...
Setting up node-columnify (1.5.4-3) ...
Setting up node-http-signature (1.3.2-1) ...
Setting up node-duplexify (4.1.1-1) ...
Setting up node-spdx-correct (3.1.1-1) ...
Setting up node-wrap-ansi (4.0.0-2) ...
Setting up node-glob (7.1.6-1) ...
Setting up node-get-stream (4.1.0-1) ...
Setting up node-pumpify (2.0.1-1) ...
Setting up node-widest-line (3.1.0-1) ...
Setting up node-got (7.1.0-1) ...
Setting up node-typedarray-to-buffer (3.0.3-3) ...
Setting up node-package-json (4.0.1-1) ...
Setting up node-latest-version (3.1.0-1) ...
Setting up node-wide-align (1.1.3-1) ...
Setting up node-ansi-align (3.0.0-1) ...
Setting up node-request (2.88.1-4) ...
Setting up node-cliui (4.1.0-2) ...
Setting up node-rimraf (2.6.3-1) ...
Setting up node-validate-npm-package-license (3.0.4-1) ...
Setting up node-stream-each (1.2.3-1) ...
Setting up node-mississippi (3.0.0-1) ...
Setting up node-execa (0.10.0+dfsg-1) ...
Setting up node-write-file-atomic (3.0.3-1) ...
Setting up node-copy-concurrently (1.0.5-5) ...
Setting up node-move-concurrently (1.0.1-2) ...
Setting up node-term-size (1.2.0+dfsg-2) ...
Setting up node-os-locale (4.0.0-1) ...
Setting up node-fs-vacuum (1.2.10-3) ...
Setting up node-gauge (2.7.4-1) ...
Setting up node-normalize-package-data (2.5.0-1) ...
Setting up node-configstore (5.0.1-1) ...
Setting up node-boxen (4.2.0-3) ...
Setting up node-npmlog (4.1.2-2) ...
Setting up node-yargs (15.3.1-1) ...
Setting up node-cacache (11.3.3-2) ...
Setting up node-read-package-json (2.1.1-1) ...
Setting up node-gyp (7.0.0-1) ...
Setting up node-libnpx (10.2.1-2) ...
Setting up npm (6.14.6+ds-1) ...
Processing triggers for man-db (2.9.3-2) ...
Scanning processes...                                                                                                                                                                                                               
Scanning candidates...                                                                                                                                                                                                              
Scanning processor microcode...                                                                                                                                                                                                     
Scanning linux images...                                                                                                                                                                                                            
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.

clone the repo git clone https://github.com/MohGovIL/hamagen-react-native

result: `


remote: Enumerating objects: 128, done.
remote: Counting objects: 100% (128/128), done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 7863 (delta 74), reused 78 (delta 44), pack-reused 7735
Receiving objects: 100% (7863/7863), 4.57 MiB | 1.28 MiB/s, done.
Resolving deltas: 100% (5740/5740), done.

enter the repo:

cd hamagen-react-nativ

run npm install in the folder, his will install dependencies which are refernced in file

npm install

result:

[  ................] \ loadDep:xmldom: sill pacote range manifest for color-name@~1.1.4 fetched in 204ms
[  ................] | fetchMetadata: sill resolveWithNewModule ansi-regex@3.0.0 checking installable status
[  ................] - fetchMetadata: sill resolveWithNewModule p-is-promise@2.1.0 checking installable status
[  ................] - loadDep:@types/yargs-parser: sill resolveWithNewModule p-defer@1.0.0 checking installable status
[  ................] - loadDep:yargs-parser: sill resolveWithNewModule p-defer@1.0.0 checking installable status
[   ...............] | fetchMetadata: sill resolveWithNewModule yargs@12.0.5 checking installable status
[   ...............] - fetchMetadata: sill resolveWithNewModule locate-path@3.0.0 checking installable status
[   ...............] \ loadDep:p-is-promise: sill resolveWithNewModule invert-kv@2.0.0 checking installable status
[   ...............] - loadDep:decamelize: sill resolveWithNewModule mimic-fn@2.1.0 checking installable status
[    ..............] - loadDep:ms: sill resolveWithNewModule camelcase@5.3.1 checking installable status
[     .............] - loadDep:slash: sill resolveWithNewModule camelcase@5.3.1 checking installable status
[     .............] - loadDep:supports-color: sill resolveWithNewModule camelcase@5.3.1 checking installable status
[     .............] - loadDep:picomatch: sill resolveWithNewModule camelcase@5.3.1 checking installable status
        ...........] \ diffTrees: sill install generateActionsToTake
[        ..........] / extract:@babel/plugin-transform-spread: sill extract @babel/plugin-transform-spread@7.8.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@babel/plugin-transform-spread-8a82a6a6
[        ..........] \ extract:react-redux: sill extract react-redux@7.1.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/react-redux-9e87d671 (2389ms)
[        ..........] - extract:async-lock: sill tarball trying @typescript-eslint/eslint-plugin@2.12.0 by hash: sha512-1t4r9rpLuEwl3hgt90jY18wJHSyb0E3orVL3DaqwmpiSDHmHiSspVsvsFF78BJ/3NNG3qmeso836jpuBWYziAA==
[        ..........] \ extract:@babel/plugin-transform-shorthand-properties: sill extract @babel/plugin-transform-shorthand-properties@7.8.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@babel/plug
[        ..........] | extract:@types/react-native-uuid-generator: sill extract @types/react-native-uuid-generator@4.0.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@types/react-native-uuid-genera
[        ..........] \ extract:react-native-device-info: sill extract react-native-device-info@5.4.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/react-native-device-info-353cfd46 (2504ms)
[        ..........] | extract:jest-fetch-mock: sill extract jest-fetch-mock@3.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/jest-fetch-mock-d0a4e084 (2188ms)
[        ..........] | extract:@hapi/joi: http fetch GET 200 https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz 4073ms
[        ..........] / extract:@types/jsrsasign: sill extract @types/jsrsasign@8.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@types/jsrsasign-65ec2897 (525ms)
[        ..........] / extract:@types/jsrsasign: sill extract @types/jsrsasign@8.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@types/jsrsasign-65ec2897 (525ms)
[        ..........] / extract:@types/jsrsasign: sill extract @types/jsrsasign@8.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@types/jsrsasign-65ec2897 (525ms)
[        ..........] / extract:@types/jsrsasign: sill extract @types/jsrsasign@8.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@types/jsrsasign-65ec2897 (525ms)
[        ..........] / extract:@types/jsrsasign: sill extract @types/jsrsasign@8.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@types/jsrsasign-65ec2897 (525ms)
[        ..........] / extract:@types/jsrsasign: sill extract @types/jsrsasign@8.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@types/jsrsasign-65ec2897 (525ms)
[        ..........] / extract:@types/jsrsasign: sill extract @types/jsrsasign@8.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@types/jsrsasign-65ec2897 (525ms)
[        ..........] - extract:@react-navigation/bottom-tabs: sill extract @react-navigation/bottom-tabs@5.0.3 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-navigation/bottom-tabs-24cf1127 (9
[        ..........] \ extract:@react-native-community/cookies: sill extract @react-native-community/cookies@2.0.9 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/cookies-96d2f
[        ..........] | extract:@react-native-community/masked-view: sill extract @react-native-community/masked-view@0.1.10 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/mask
[        ..........] | extract:@react-native-community/masked-view: sill extract @react-native-community/masked-view@0.1.10 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/mask
[        ..........] | extract:@react-native-community/masked-view: sill extract @react-native-community/masked-view@0.1.10 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/mask
[        ..........] \ extract:yargs-parser: sill extract yargs-parser@^11.1.1 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/yargs-parser-39e1047e (3ms)
[        ..........] | extract:@react-navigation/drawer: sill extract @react-navigation/drawer@5.4.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-navigation/drawer-13e38a18 (1794ms)
[        ..........] / extract:@react-native-community/netinfo: sill extract @react-native-community/netinfo@5.6.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/netinfo-14d24
[        ..........] / extract:@react-native-community/netinfo: sill extract @react-native-community/netinfo@5.6.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/netinfo-14d24
[        ..........] / extract:@react-native-community/netinfo: sill extract @react-native-community/netinfo@5.6.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/netinfo-14d24
[        ..........] / extract:@react-native-community/netinfo: sill extract @react-native-community/netinfo@5.6.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/netinfo-14d24
[        ..........] - extract:@react-native-community/cli: sill extract @react-native-community/cli@3.2.1 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/cli-d3e93818 (861ms)
[        ..........] - extract:@react-native-community/cli: sill extract @react-native-community/cli@3.2.1 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/cli-d3e93818 (861ms)
[        ..........] - extract:@hapi/bourne: sill extract @hapi/bourne@1.3.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@hapi/bourne-70217096 (7004ms)
[        ..........] | extract:eslint-plugin-react: sill extract eslint-plugin-react@7.13.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/eslint-plugin-react-c005b679 (5109ms)
[        ..........] / extract:metro-config: sill extract metro-config@0.56.4 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/metro-config-7082306f (1282ms)
[        ..........] / extract:os-locale: sill extract os-locale@2.1.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/os-locale-56463e76 (244ms)
[        ..........] - extract:cross-spawn: sill extract cross-spawn@5.1.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/cross-spawn-d47520b8 (2ms)
[        ..........] \ extract:metro-inspector-proxy: sill extract metro-inspector-proxy@0.54.1 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/metro-inspector-proxy-e0c80445 (179ms)
[        ..........] / extract:yallist: sill extract yallist@2.1.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/yallist-11a36e01 (149ms)
[        ..........] | extract:fbjs-scripts: sill extract fbjs-scripts@1.2.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/fbjs-scripts-47f6b1e8 (406ms)
[        ..........] | extract:fbjs-scripts: sill extract fbjs-scripts@1.2.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/fbjs-scripts-47f6b1e8 (406ms)
[        ..........] / extract:@react-native-community/cli: sill extract @react-native-community/cli@2.9.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-native-community/cli-388f8bd5 (3075ms)
[        ..........] - extract:html-encoding-sniffer: sill extract html-encoding-sniffer@1.0.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/html-encoding-sniffer-47addf6a (1123ms)
[        ..........] | extract:anymatch: sill extract anymatch@2.0.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/anymatch-86e74b3b (197ms)
[        ..........] / extract:anymatch: sill extract anymatch@2.0.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/anymatch-86e74b3b (197ms)
[        ..........] \ extract:@babel/plugin-transform-destructuring: sill extract @babel/plugin-transform-destructuring@7.9.5 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@babel/plugin-transform-d
[        ..........] / extract:jest-haste-map: sill tarball no local data for finalhandler@1.1.2. Extracting by manifest.
[        ..........] \ extract:base: sill extract base@0.11.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/base-2b860851 (223ms)
[        ..........] / extract:unpipe: sill extract unpipe@1.0.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/unpipe-2c7d812b (221ms)
[        ..........] / extract:@types/react-native: sill tarball no local data for unicode-property-aliases-ecmascript@1.1.0. Extracting by manifest.
[        ..........] - extract:has-values: sill extract has-values@0.1.4 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/has-values-88e55648 (447ms)
[        ..........] \ extract:unicode-property-aliases-ecmascript: sill extract unicode-property-aliases-ecmascript@1.1.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/unicode-property-aliases-ecma
[        ..........] | extract:metro-minify-uglify: sill extract metro-minify-uglify@0.56.4 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/metro-minify-uglify-62b14a17 (283ms)
[        ..........] | extract:metro-minify-uglify: sill extract metro-minify-uglify@0.56.4 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/metro-minify-uglify-62b14a17 (283ms)
[        ..........] - extract:metro-minify-uglify: sill extract metro-minify-uglify@0.54.1 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/metro-minify-uglify-ba06a62c (969ms)
[        ..........] \ extract:@react-navigation/core: sill extract @react-navigation/core@5.7.0 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@react-navigation/core-e91cf266 (2206ms)
[        ..........] | extract:@jest/globals: sill extract @jest/globals@25.5.2 extracted to /home/rr9845/hamagen/hamagen-react-native/node_modules/.staging/@jest/globals-7f4c0b01 (200ms)

install android_sdk sudo apt-get install android-sdk result:

he following additional packages will be installed:
  aapt aidl android-libaapt android-libandroidfw android-libart android-libbacktrace android-libetc1 android-libf2fs-utils android-libnativebridge android-libnativehelper android-libnativeloader android-libsparse
  android-libunwind android-libutils android-libziparchive android-sdk-build-tools android-sdk-build-tools-common android-sdk-common android-sdk-platform-tools apksigner dalvik-exchange dexdump dmtracedump etc1tool fastboot
  gradle hprof-conv jarwrapper libandroid-23-java libgradle-plugins-java libjs-jquery libproguard-java libzopfli1 node-jquery proguard-cli split-select zipalign
Suggested packages:
  android-sdk-platform-23 maven proguard-gui gradle-doc
Recommended packages:
  default-jdk-headless
The following NEW packages will be installed:
  aapt aidl android-libaapt android-libandroidfw android-libart android-libbacktrace android-libetc1 android-libf2fs-utils android-libnativebridge android-libnativehelper android-libnativeloader android-libsparse
  android-libunwind android-libutils android-libziparchive android-sdk android-sdk-build-tools android-sdk-build-tools-common android-sdk-common android-sdk-platform-tools apksigner dalvik-exchange dexdump dmtracedump etc1tool
  fastboot gradle hprof-conv jarwrapper libandroid-23-java libgradle-plugins-java libjs-jquery libproguard-java libzopfli1 node-jquery proguard-cli split-select zipalign
0 upgraded, 38 newly installed, 0 to remove and 68 not upgraded.
Need to get 20.5 MB/26.1 MB of archives.
After this operation, 41.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bullseye/main amd64 android-libunwind amd64 10.0.0+r36-1 [51.8 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 android-libbacktrace amd64 1:8.1.0+r23-7 [55.1 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 android-libutils amd64 1:8.1.0+r23-7 [59.0 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 android-libziparchive amd64 1:8.1.0+r23-7 [33.4 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 android-libandroidfw amd64 1:8.1.0+r23-3+b2 [136 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 android-libaapt amd64 1:8.1.0+r23-3+b2 [272 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 aapt amd64 1:8.1.0+r23-3+b2 [551 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 aidl amd64 1:8.1.0+r23-1 [196 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 android-libnativebridge amd64 1:8.1.0+r23-7 [19.8 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 android-libnativehelper amd64 8.1.0+r23-1 [15.7 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 android-libnativeloader amd64 1:8.1.0+r23-7 [16.1 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 android-libart amd64 8.1.0+r23-3 [2,284 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 android-libetc1 amd64 1:8.1.0+r23-2 [17.7 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 android-libsparse amd64 1:8.1.0+r23-7 [26.1 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 android-libf2fs-utils amd64 8.1.0+r23-2 [11.0 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 android-sdk-build-tools-common all 27.0.1+12 [4,908 B]
Get:17 http://deb.debian.org/debian bullseye/main amd64 jarwrapper all 0.75 [21.5 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 apksigner all 30.0.3-1 [358 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 libandroid-23-java all 6.0.1+r72-5 [13.6 MB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 libproguard-java all 6.2.0-1 [1,157 kB]                                                                                                                                    
Get:21 http://deb.debian.org/debian bullseye/main amd64 proguard-cli all 6.2.0-1 [5,056 B]                                                                                                                                         
Get:22 http://deb.debian.org/debian bullseye/main amd64 dalvik-exchange all 8.1.0+r23-2 [971 kB]                                                                                                                                   
Get:23 http://deb.debian.org/debian bullseye/main amd64 dexdump amd64 8.1.0+r23-3 [38.0 kB]                                                                                                                                        
Get:24 http://deb.debian.org/debian bullseye/main amd64 split-select amd64 1:8.1.0+r23-3+b2 [36.5 kB]                                                                                                                              
Get:25 http://deb.debian.org/debian bullseye/main amd64 libzopfli1 amd64 1.0.3-1 [101 kB]                                                                                                                                          
Get:26 http://deb.debian.org/debian bullseye/main amd64 zipalign amd64 1:8.1.0+r23-4 [20.1 kB]                                                                                                                                     
Get:27 http://deb.debian.org/debian bullseye/main amd64 android-sdk-build-tools amd64 27.0.1+12 [4,312 B]                                                                                                                          
Get:28 http://deb.debian.org/debian bullseye/main amd64 android-sdk-common all 25.0.0+12 [6,600 B]                                                                                                                                 
Get:29 http://deb.debian.org/debian bullseye/main amd64 dmtracedump amd64 8.1.0+r23-3 [26.2 kB]                                                                                                                                    
Get:30 http://deb.debian.org/debian bullseye/main amd64 etc1tool amd64 8.1.0+r23-1 [18.3 kB]                                                                                                                                       
Get:31 http://deb.debian.org/debian bullseye/main amd64 fastboot amd64 1:8.1.0+r23-7 [67.9 kB]                                                                                                                                     
Get:32 http://deb.debian.org/debian bullseye/main amd64 hprof-conv amd64 8.1.0+r23-2 [13.3 kB]                                                                                                                                     
Get:33 http://deb.debian.org/debian bullseye/main amd64 android-sdk-platform-tools amd64 27.0.0+12 [4,420 B]                                                                                                                       
Get:34 http://deb.debian.org/debian bullseye/main amd64 android-sdk amd64 25.0.0+12 [4,824 B]                                                                                                                                      
Get:35 http://deb.debian.org/debian bullseye/main amd64 node-jquery all 3.5.1+dfsg-4 [309 kB]                                                                                                                                      
Get:36 http://deb.debian.org/debian bullseye/main amd64 libjs-jquery all 3.5.1+dfsg-4 [3,612 B]                                                                                                                                    
Fetched 20.5 MB in 13s (1,602 kB/s)                                                                                                                                                                                                
Extracting templates from packages: 100%
Selecting previously unselected package android-libunwind.
(Reading database ... 425910 files and directories currently installed.)
Preparing to unpack .../00-android-libunwind_10.0.0+r36-1_amd64.deb ...
Unpacking android-libunwind (10.0.0+r36-1) ...
Selecting previously unselected package android-libbacktrace.
Preparing to unpack .../01-android-libbacktrace_1%3a8.1.0+r23-7_amd64.deb ...
Unpacking android-libbacktrace (1:8.1.0+r23-7) ...
Selecting previously unselected package android-libutils.
Preparing to unpack .../02-android-libutils_1%3a8.1.0+r23-7_amd64.deb ...
Unpacking android-libutils (1:8.1.0+r23-7) ...
Selecting previously unselected package android-libziparchive.
Preparing to unpack .../03-android-libziparchive_1%3a8.1.0+r23-7_amd64.deb ...
Unpacking android-libziparchive (1:8.1.0+r23-7) ...
Selecting previously unselected package android-libandroidfw:amd64.
Preparing to unpack .../04-android-libandroidfw_1%3a8.1.0+r23-3+b2_amd64.deb ...
Unpacking android-libandroidfw:amd64 (1:8.1.0+r23-3+b2) ...
Selecting previously unselected package android-libaapt:amd64.
Preparing to unpack .../05-android-libaapt_1%3a8.1.0+r23-3+b2_amd64.deb ...
Unpacking android-libaapt:amd64 (1:8.1.0+r23-3+b2) ...
Selecting previously unselected package aapt.
Preparing to unpack .../06-aapt_1%3a8.1.0+r23-3+b2_amd64.deb ...
Unpacking aapt (1:8.1.0+r23-3+b2) ...
Selecting previously unselected package aidl.
Preparing to unpack .../07-aidl_1%3a8.1.0+r23-1_amd64.deb ...
Unpacking aidl (1:8.1.0+r23-1) ...
Selecting previously unselected package android-libnativebridge.
Preparing to unpack .../08-android-libnativebridge_1%3a8.1.0+r23-7_amd64.deb ...
Unpacking android-libnativebridge (1:8.1.0+r23-7) ...
Selecting previously unselected package android-libnativehelper.
Preparing to unpack .../09-android-libnativehelper_8.1.0+r23-1_amd64.deb ...
Unpacking android-libnativehelper (8.1.0+r23-1) ...
Selecting previously unselected package android-libnativeloader.
Preparing to unpack .../10-android-libnativeloader_1%3a8.1.0+r23-7_amd64.deb ...
Unpacking android-libnativeloader (1:8.1.0+r23-7) ...
Selecting previously unselected package android-libart.
Preparing to unpack .../11-android-libart_8.1.0+r23-3_amd64.deb ...
Unpacking android-libart (8.1.0+r23-3) ...
Selecting previously unselected package android-libetc1.
Preparing to unpack .../12-android-libetc1_1%3a8.1.0+r23-2_amd64.deb ...
Unpacking android-libetc1 (1:8.1.0+r23-2) ...
Selecting previously unselected package android-libsparse.
Preparing to unpack .../13-android-libsparse_1%3a8.1.0+r23-7_amd64.deb ...
Unpacking android-libsparse (1:8.1.0+r23-7) ...
Selecting previously unselected package android-libf2fs-utils.
Preparing to unpack .../14-android-libf2fs-utils_8.1.0+r23-2_amd64.deb ...
Unpacking android-libf2fs-utils (8.1.0+r23-2) ...
Selecting previously unselected package android-sdk-build-tools-common.
Preparing to unpack .../15-android-sdk-build-tools-common_27.0.1+12_all.deb ...
Unpacking android-sdk-build-tools-common (27.0.1+12) ...
Selecting previously unselected package jarwrapper.
Preparing to unpack .../16-jarwrapper_0.75_all.deb ...
Unpacking jarwrapper (0.75) ...
Selecting previously unselected package apksigner.
Preparing to unpack .../17-apksigner_30.0.3-1_all.deb ...
Unpacking apksigner (30.0.3-1) ...
Selecting previously unselected package libandroid-23-java.
Preparing to unpack .../18-libandroid-23-java_6.0.1+r72-5_all.deb ...
Unpacking libandroid-23-java (6.0.1+r72-5) ...
Selecting previously unselected package libproguard-java.
Preparing to unpack .../19-libproguard-java_6.2.0-1_all.deb ...
Unpacking libproguard-java (6.2.0-1) ...
Selecting previously unselected package proguard-cli.
Preparing to unpack .../20-proguard-cli_6.2.0-1_all.deb ...
Unpacking proguard-cli (6.2.0-1) ...
Selecting previously unselected package dalvik-exchange.
Preparing to unpack .../21-dalvik-exchange_8.1.0+r23-2_all.deb ...
Unpacking dalvik-exchange (8.1.0+r23-2) ...
Selecting previously unselected package dexdump.
Preparing to unpack .../22-dexdump_8.1.0+r23-3_amd64.deb ...
Unpacking dexdump (8.1.0+r23-3) ...
Selecting previously unselected package split-select.
Preparing to unpack .../23-split-select_1%3a8.1.0+r23-3+b2_amd64.deb ...
Unpacking split-select (1:8.1.0+r23-3+b2) ...
Selecting previously unselected package libzopfli1.
Preparing to unpack .../24-libzopfli1_1.0.3-1_amd64.deb ...
Unpacking libzopfli1 (1.0.3-1) ...
Selecting previously unselected package zipalign.
Preparing to unpack .../25-zipalign_1%3a8.1.0+r23-4_amd64.deb ...
Unpacking zipalign (1:8.1.0+r23-4) ...
Selecting previously unselected package android-sdk-build-tools.
Preparing to unpack .../26-android-sdk-build-tools_27.0.1+12_amd64.deb ...
Unpacking android-sdk-build-tools (27.0.1+12) ...
Selecting previously unselected package android-sdk-common.
Preparing to unpack .../27-android-sdk-common_25.0.0+12_all.deb ...
Unpacking android-sdk-common (25.0.0+12) ...
Selecting previously unselected package dmtracedump.
Preparing to unpack .../28-dmtracedump_8.1.0+r23-3_amd64.deb ...
Unpacking dmtracedump (8.1.0+r23-3) ...
Selecting previously unselected package etc1tool.
Preparing to unpack .../29-etc1tool_8.1.0+r23-1_amd64.deb ...
Unpacking etc1tool (8.1.0+r23-1) ...
Selecting previously unselected package fastboot.
Preparing to unpack .../30-fastboot_1%3a8.1.0+r23-7_amd64.deb ...
Unpacking fastboot (1:8.1.0+r23-7) ...
Selecting previously unselected package hprof-conv.
Preparing to unpack .../31-hprof-conv_8.1.0+r23-2_amd64.deb ...
Unpacking hprof-conv (8.1.0+r23-2) ...
Selecting previously unselected package android-sdk-platform-tools.
Preparing to unpack .../32-android-sdk-platform-tools_27.0.0+12_amd64.deb ...
Unpacking android-sdk-platform-tools (27.0.0+12) ...
Selecting previously unselected package android-sdk.
Preparing to unpack .../33-android-sdk_25.0.0+12_amd64.deb ...
Unpacking android-sdk (25.0.0+12) ...
Selecting previously unselected package node-jquery.
Preparing to unpack .../34-node-jquery_3.5.1+dfsg-4_all.deb ...
Unpacking node-jquery (3.5.1+dfsg-4) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../35-libjs-jquery_3.5.1+dfsg-4_all.deb ...
Unpacking libjs-jquery (3.5.1+dfsg-4) ...
Selecting previously unselected package libgradle-plugins-java.
Preparing to unpack .../36-libgradle-plugins-java_4.4.1-11_all.deb ...
Unpacking libgradle-plugins-java (4.4.1-11) ...
Selecting previously unselected package gradle.
Preparing to unpack .../37-gradle_4.4.1-11_all.deb ...
Unpacking gradle (4.4.1-11) ...
Setting up android-sdk-build-tools-common (27.0.1+12) ...
Setting up android-libnativebridge (1:8.1.0+r23-7) ...
Setting up jarwrapper (0.75) ...
Setting up android-libetc1 (1:8.1.0+r23-2) ...
Setting up android-sdk-common (25.0.0+12) ...
Setting up libproguard-java (6.2.0-1) ...
Setting up libandroid-23-java (6.0.1+r72-5) ...
Setting up android-libsparse (1:8.1.0+r23-7) ...
Setting up libzopfli1 (1.0.3-1) ...
Setting up android-libnativehelper (8.1.0+r23-1) ...
Setting up android-libunwind (10.0.0+r36-1) ...
Setting up aidl (1:8.1.0+r23-1) ...
Setting up android-libnativeloader (1:8.1.0+r23-7) ...
Setting up android-libbacktrace (1:8.1.0+r23-7) ...
Setting up dmtracedump (8.1.0+r23-3) ...
Setting up etc1tool (8.1.0+r23-1) ...
Setting up hprof-conv (8.1.0+r23-2) ...
Setting up node-jquery (3.5.1+dfsg-4) ...
Setting up apksigner (30.0.3-1) ...
Setting up proguard-cli (6.2.0-1) ...
Setting up android-libf2fs-utils (8.1.0+r23-2) ...
Setting up android-libutils (1:8.1.0+r23-7) ...
Setting up libjs-jquery (3.5.1+dfsg-4) ...
Setting up android-libziparchive (1:8.1.0+r23-7) ...
Setting up dalvik-exchange (8.1.0+r23-2) ...
Setting up fastboot (1:8.1.0+r23-7) ...
Setting up android-sdk-platform-tools (27.0.0+12) ...
Setting up android-libart (8.1.0+r23-3) ...
Setting up dexdump (8.1.0+r23-3) ...
Setting up android-libandroidfw:amd64 (1:8.1.0+r23-3+b2) ...
Setting up libgradle-plugins-java (4.4.1-11) ...
Setting up zipalign (1:8.1.0+r23-4) ...
Setting up android-libaapt:amd64 (1:8.1.0+r23-3+b2) ...
Setting up aapt (1:8.1.0+r23-3+b2) ...
Setting up gradle (4.4.1-11) ...
Setting up split-select (1:8.1.0+r23-3+b2) ...
Setting up android-sdk-build-tools (27.0.1+12) ...
Setting up android-sdk (25.0.0+12) ...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for libc-bin (2.31-1) ...

set envoirment varibale ANDROID_SDK_ROOT to path of your android sdk

export ANDROID_SDK_ROOT= /usr/lib/android-sdk

from hamagen-react-native/android exexcute ./gradlew (not the standard gradle ! )

./gradlew

result:

Downloading https://services.gradle.org/distributions/gradle-6.3-bin.zip
.................................................................................................

Welcome to Gradle 6.3!

Here are the highlights of this release:
 - Java 14 support
 - Improved error messages for unexpected failures

For more details see https://docs.gradle.org/6.3/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
kaplanlior commented 4 years ago

Thanks @rr9845 for the whatup link. I'm happy people play with the code. We'll make sure to publish better instructions.

kaplanlior commented 4 years ago

Please use npm install --ignore-scripts for Linux, as it works around the existing postinstall script meant mainly for mac (see #244 ).

kaplanlior commented 4 years ago

Duplicate of #204

emanuelb commented 4 years ago

Many issues in above instructions/expectation:

  1. checksum requirement is impossible for apks.

What is the expected checksum md5 and sha512 for the builds .

Impossible, each APK will have different checksum due to different keys used for signing (different keystore files/params are supplied)

what is possible is to have list of checksums for files uploaded to stores: #270 (which then can be check with repro-build to ensure matched code exists in github)

  1. apt-get related issues

2.1 - no mention of installing java (last I checked for older v1 versions apk, they built using java8)

2.2 - missing --no-install-recommends argument for apt-get install

sudo apt-get install git npm sudo apt-get install android-sdk

Add --no-install-recommends argument (install less not-needed deps)

2.3 not combined installed commands, missing apt-get update

it's better to install all required deps in 1 command & run apt-get update before it.

  1. no mention of shallow clone (not full clone) to reduce bandswidth.

git clone https://github.com/MohGovIL/hamagen-react-native

see #279 for more info

  1. not mention of production npm install (without devDependencies) or npm ci

npm install

Better to use:

npm ci or npm install --production

Currently it won't work due to some issues like #173 , #254 , #265

use npm install only if you planning to run tests as well npm test / yarn jest

  1. no mention of yarn as alternative to npm

yarn can be used instead of npm.

  1. missing keystore creation instructions.

apk build will fail without it.

  1. no mention of simple Containerfile/Dockerfile usage

See issue #243 which contain files that use debian/alpine distros.

  1. consider adding --ignore-optional for npm install

  2. using --ignore-scripts will require running npx jetify later, issue: #242

  3. Vagrantfile

can be used to compile and then run the android app as well: see issue: #266

kaplanlior commented 4 years ago

You're welcome to review and comment on the draft at https://github.com/MohGovIL/hamagen-react-native/issues/204#issuecomment-666427678

We closed this issue as a duplicate so all comments would be in one place. Thanks.

emanuelb commented 4 years ago

I did, see: https://github.com/MohGovIL/hamagen-react-native/issues/204#issuecomment-671765098 this comment was mostly written before this issue was closed (there more related issues to building/build-instructions, which I will open later) and the content at this comment is mostly relevant (almost all items apply) to the draft/discussion at issue #204