anilhelvaci / dapp-pool-lending-protocol

The core of the Agoric economy
9 stars 1 forks source link

Bug: fails on `agoric install` #44

Closed cboydstun closed 1 year ago

cboydstun commented 1 year ago

MacOS node version: 16.17.0 git version: 2.37.0 yarn version: 1.22.5 Agoric SDK version: git checkout 75965ee3ba8e4ef42b55a710cc743ea8a874c4ef Dapp branch: git checkout -b feature/cosmoverse

Chriss-MBP:dapp-pool-lending-protocol chrisboydstun$ agoric install

agoric: install: yarn workspaces --silent info

agoric: install: yarn workspaces --silent info

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/_agstate/yarn-links

agoric: install: rm -rf /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/_agstate/yarn-links

agoric: install: removing ./node_modules link

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/ui/node_modules link

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/_agstate/agoric-servers/node_modules link

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/contract/node_modules link

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/api/node_modules link

agoric: install: removing ui/node_modules link

agoric: install: yarn install updates in .

agoric: install: yarn --link-folder=/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/_agstate/yarn-links install

yarn install v1.22.4

info No lockfile found.

[1/5] πŸ”  Validating package.json...

[2/5] πŸ”  Resolving packages...

warning lerna > @lerna/bootstrap > read-package-tree@5.3.1: The functionality that this package provided is now in @npmcli/arborist

warning lerna > @lerna/bootstrap > read-package-tree > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs

warning lerna > @lerna/version > temp-write > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

warning lerna > @lerna/create > pacote > cacache > @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs

warning lerna > @lerna/create > pacote > @npmcli/run-script > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

warning lerna > @lerna/publish > @lerna/run-lifecycle > npm-lifecycle > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

warning lerna > @lerna/create > pacote > @npmcli/run-script > node-gyp > request > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

warning lerna > @lerna/create > pacote > @npmcli/run-script > node-gyp > request > har-validator@5.1.5: this library is no longer supported

warning babel-eslint@11.0.0-beta.2: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > babel-eslint@11.0.0-beta.2: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @material-ui/lab@4.0.0-alpha.61: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @material-ui/styles@4.11.5: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @material-ui/core@4.12.4: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @material-ui/core > @material-ui/styles@4.11.5: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base@0.27.0: Please use @opentelemetry/sdk-metrics

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @agoric/telemetry > @opentelemetry/sdk-metrics-base@0.27.0: Please use @opentelemetry/sdk-metrics

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > webpack-log > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base > @opentelemetry/api-metrics@0.27.0: Please use @opentelemetry/api >= 1.3.0

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > @pmmmwh/react-refresh-webpack-plugin > native-url > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @agoric/telemetry > @opentelemetry/exporter-prometheus > @opentelemetry/api-metrics@0.27.0: Please use @opentelemetry/api >= 1.3.0

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @agoric/telemetry > @opentelemetry/exporter-prometheus > @opentelemetry/sdk-metrics-base@0.27.0: Please use @opentelemetry/sdk-metrics

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > @svgr/webpack > @svgr/plugin-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @agoric/wallet-connection > @agoric/web-components > @agoric/wallet > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi@15.1.1: Switch to 'npm install joi'

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > rollup-plugin-terser@5.3.1: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > resolve-url-loader > rework > css > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > @svgr/webpack > @svgr/plugin-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > babel-jest > @jest/transform > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > optimize-css-assets-webpack-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > postcss-preset-env > postcss-color-functional-notation > postcss-values-parser > flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > resolve-url-loader > rework > css > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > strip-comments > babel-plugin-transform-object-rest-spread > babel-runtime > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

warning workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > react-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.

[3/5] 🚚  Fetching packages...

info @lmdb/lmdb-darwin-x64@2.7.0: The CPU architecture "arm64" is incompatible with this module.

info "@lmdb/lmdb-darwin-x64@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-linux-arm@2.7.0: The platform "darwin" is incompatible with this module.

info "@lmdb/lmdb-linux-arm@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-linux-arm@2.7.0: The CPU architecture "arm64" is incompatible with this module.

info @lmdb/lmdb-linux-arm64@2.7.0: The platform "darwin" is incompatible with this module.

info "@lmdb/lmdb-linux-arm64@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-win32-x64@2.7.0: The platform "darwin" is incompatible with this module.

info "@lmdb/lmdb-win32-x64@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-win32-x64@2.7.0: The CPU architecture "arm64" is incompatible with this module.

info @lmdb/lmdb-linux-x64@2.7.0: The platform "darwin" is incompatible with this module.

info "@lmdb/lmdb-linux-x64@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-linux-x64@2.7.0: The CPU architecture "arm64" is incompatible with this module.

info @msgpackr-extract/msgpackr-extract-linux-x64@2.2.0: The platform "darwin" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-linux-x64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-linux-x64@2.2.0: The CPU architecture "arm64" is incompatible with this module.

info @msgpackr-extract/msgpackr-extract-darwin-x64@2.2.0: The CPU architecture "arm64" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-darwin-x64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-linux-arm64@2.2.0: The platform "darwin" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-linux-arm64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-win32-x64@2.2.0: The platform "darwin" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-win32-x64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-win32-x64@2.2.0: The CPU architecture "arm64" is incompatible with this module.

info @msgpackr-extract/msgpackr-extract-linux-arm@2.2.0: The platform "darwin" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-linux-arm@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-linux-arm@2.2.0: The CPU architecture "arm64" is incompatible with this module.

[4/5] πŸ”—  Linking dependencies...

warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react@^7.21.5".

warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0".

warning " > babel-eslint@11.0.0-beta.2" has unmet peer dependency "@babel/core@>=7.2.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @babel/eslint-plugin@7.19.1" has unmet peer dependency "@babel/eslint-parser@>=7.11.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > contract > @agoric/swingset-vat@0.27.0" has unmet peer dependency "@endo/ses-ava@^0.2.25".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > contract > @agoric/inter-protocol > @agoric/swingset-vat@0.30.2" has unmet peer dependency "@endo/ses-ava@^0.2.33".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > contract > @agoric/inter-protocol > @agoric/swingset-vat@0.30.2" has incorrect peer dependency "ava@^4.3.1".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @agoric/ertp > @agoric/swingset-vat@0.30.3-dev-2ddcdf6.0" has unmet peer dependency "@endo/ses-ava@^0.2.36".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @agoric/ertp > @agoric/swingset-vat@0.30.3-dev-2ddcdf6.0" has incorrect peer dependency "ava@^5.0.1".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > contract > @agoric/governance > @agoric/ertp > @agoric/swingset-vat@0.28.0" has unmet peer dependency "@endo/ses-ava@^0.2.25".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @agoric/run-protocol > @agoric/swingset-vat@0.28.1-dev-dbdd778.0" has unmet peer dependency "@endo/ses-ava@^0.2.27".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @agoric/ertp > @agoric/store > @fast-check/ava@1.1.2" has incorrect peer dependency "ava@>=4.0.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > contract > @endo/bundle-source > @rollup/plugin-node-resolve@13.3.0" has unmet peer dependency "rollup@^2.42.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > contract > @endo/bundle-source > @rollup/plugin-commonjs@19.0.2" has unmet peer dependency "rollup@^2.38.3".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base@0.27.0" has unmet peer dependency "@opentelemetry/api@^1.0.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > contract > @endo/bundle-source > @rollup/plugin-node-resolve > @rollup/pluginutils@3.1.0" has unmet peer dependency "rollup@^1.20.0||^2.0.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base > @opentelemetry/resources@1.0.1" has unmet peer dependency "@opentelemetry/api@>=1.0.0 <1.1.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base > @opentelemetry/core@1.0.1" has unmet peer dependency "@opentelemetry/api@>=1.0.0 <1.1.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @agoric/telemetry > @opentelemetry/exporter-trace-otlp-http > @opentelemetry/sdk-trace-base@1.0.1" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.1.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @agoric/wallet-connection > @agoric/web-components > rollup-plugin-polyfill-node@0.9.0" has unmet peer dependency "rollup@^1.20.0 || ^2.0.0".

warning "workspace-aggregator-fbf0aeaf-d1f2-4522-8074-ad34730d3bec > @agoric/dapp-treasury-ui > @agoric/wallet-connection > @agoric/web-components > rollup-plugin-polyfill-node > @rollup/plugin-inject@4.0.4" has unmet peer dependency "rollup@^1.20.0 || ^2.0.0".

[5/5] πŸ”¨  Building fresh packages...

[9/21] ⠈ fsevents

[2/21] ⠈ better-sqlite3

[-/21] ⠈ waiting...

[17/21] ⠈ bufferfromfile

error /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3: Command failed.

Exit code: 1

Command: prebuild-install || npm run build-release

Arguments: 

Directory: /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3

Output:

prebuild-install warn install No prebuilt binaries found (target=16.17.0 runtime=node arch=arm64 libc= platform=darwin)

gyp info it worked if it ends with ok

gyp info using node-gyp@7.1.2

gyp info using node@16.17.0 | darwin | arm64

> better-sqlite3@7.6.2 build-release

> node-gyp rebuild --release

gyp info find Python using Python version 3.11.0 found at "/usr/local/bin/python3"

(node:64220) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.

(Use `node --trace-deprecation ...` to show where the warning was created)

gyp info spawn /usr/local/bin/python3

gyp info spawn args [

gyp info spawn args   '/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/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   '/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3/build/config.gypi',

gyp info spawn args   '-I',

gyp info spawn args   '/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/addon.gypi',

gyp info spawn args   '-I',

gyp info spawn args   '/Users/chrisboydstun/Library/Caches/node-gyp/16.17.0/include/node/common.gypi',

gyp info spawn args   '-Dlibrary=shared_library',

gyp info spawn args   '-Dvisibility=default',

gyp info spawn args   '-Dnode_root_dir=/Users/chrisboydstun/Library/Caches/node-gyp/16.17.0',

gyp info spawn args   '-Dnode_gyp_dir=/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp',

gyp info spawn args   '-Dnode_lib_file=/Users/chrisboydstun/Library/Caches/node-gyp/16.17.0/<(target_arch)/node.lib',

gyp info spawn args   '-Dmodule_root_dir=/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3',

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 ]

Traceback (most recent call last):

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>

    sys.exit(gyp.script_main())

             ^^^^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main

    return main(sys.argv[1:])

           ^^^^^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main

    return gyp_main(args)

           ^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main

    [generator, flat_list, targets, data] = Load(

                                            ^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load

    result = gyp.input.Load(

             ^^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load

    LoadTargetBuildFile(

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile

    build_file_data = LoadOneBuildFile(

                      ^^^^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile

    build_file_contents = open(build_file_path, "rU").read()

                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^

ValueError: invalid mode: 'rU' 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 (/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/lib/configure.js:351:16)

gyp ERR! stack     at ChildProcess.emit (node:events:513:28)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

gyp ERR! System Darwin 21.6.0

gyp ERR! command "/usr/local/bin/node" "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/.bin/node-gyp" "rebuild" "--release"

gyp ERR! cwd /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3

agoric: (Error#1)

Error#1: yarn install updates failed in .

  at yarnInstallEachWorktree (packages/agoric-cli/src/install.js:74:15)

  at async installMain (packages/agoric-cli/src/install.js:282:3)

  at async Promise.all (index 0)

  at async main (packages/agoric-cli/src/main.js:258:5)

Chriss-MBP:dapp-pool-lending-protocol chrisboydstun$ cd ..

Chriss-MBP:coding chrisboydstun$ rm -rf dapp-pool-lending-protocol/

Chriss-MBP:coding chrisboydstun$ git clone https://github.com/anilhelvaci/dapp-pool-lending-protocol/

Cloning into 'dapp-pool-lending-protocol'...

remote: Enumerating objects: 3894, done.

remote: Counting objects: 100% (1559/1559), done.

remote: Compressing objects: 100% (663/663), done.

remote: Total 3894 (delta 1037), reused 1321 (delta 885), pack-reused 2335

Receiving objects: 100% (3894/3894), 3.77 MiB | 5.86 MiB/s, done.

Resolving deltas: 100% (2572/2572), done.

Chriss-MBP:coding chrisboydstun$ cd dapp-pool-lending-protocol/

Chriss-MBP:dapp-pool-lending-protocol chrisboydstun$ git checkout feature/cosmoverse

branch 'feature/cosmoverse' set up to track 'origin/feature/cosmoverse'.

Switched to a new branch 'feature/cosmoverse'

Chriss-MBP:dapp-pool-lending-protocol chrisboydstun$ agoric install

agoric: install: yarn workspaces --silent info

agoric: install: yarn workspaces --silent info

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/_agstate/yarn-links

agoric: install: rm -rf /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/_agstate/yarn-links

agoric: install: removing ./node_modules link

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/ui/node_modules link

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/_agstate/agoric-servers/node_modules link

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/contract/node_modules link

agoric: install: removing /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/api/node_modules link

agoric: install: removing ui/node_modules link

agoric: install: yarn install updates in .

agoric: install: yarn --link-folder=/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/_agstate/yarn-links install

yarn install v1.22.4

info No lockfile found.

[1/5] πŸ”  Validating package.json...

[2/5] πŸ”  Resolving packages...

warning lerna > @lerna/bootstrap > read-package-tree@5.3.1: The functionality that this package provided is now in @npmcli/arborist

warning lerna > @lerna/bootstrap > read-package-tree > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs

warning lerna > @lerna/version > temp-write > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

warning lerna > @lerna/add > pacote > cacache > @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs

warning lerna > @lerna/add > pacote > @npmcli/run-script > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

warning lerna > @lerna/bootstrap > @lerna/run-lifecycle > npm-lifecycle > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

warning lerna > @lerna/add > pacote > @npmcli/run-script > node-gyp > request > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

warning lerna > @lerna/add > pacote > @npmcli/run-script > node-gyp > request > har-validator@5.1.5: this library is no longer supported

warning babel-eslint@11.0.0-beta.2: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > babel-eslint@11.0.0-beta.2: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @material-ui/styles@4.11.5: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @material-ui/lab@4.0.0-alpha.61: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @material-ui/core@4.12.4: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @material-ui/core > @material-ui/styles@4.11.5: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base@0.27.0: Please use @opentelemetry/sdk-metrics

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @agoric/telemetry > @opentelemetry/sdk-metrics-base@0.27.0: Please use @opentelemetry/sdk-metrics

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > webpack-log > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base > @opentelemetry/api-metrics@0.27.0: Please use @opentelemetry/api >= 1.3.0

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > @pmmmwh/react-refresh-webpack-plugin > native-url > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > @svgr/webpack > @svgr/plugin-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @agoric/telemetry > @opentelemetry/exporter-prometheus > @opentelemetry/api-metrics@0.27.0: Please use @opentelemetry/api >= 1.3.0

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @agoric/telemetry > @opentelemetry/exporter-prometheus > @opentelemetry/sdk-metrics-base@0.27.0: Please use @opentelemetry/sdk-metrics

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @agoric/wallet-connection > @agoric/web-components > @agoric/wallet > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > resolve-url-loader > rework > css > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi@15.1.1: Switch to 'npm install joi'

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > rollup-plugin-terser@5.3.1: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > @svgr/webpack > @svgr/plugin-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > babel-jest > @jest/transform > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > optimize-css-assets-webpack-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > resolve-url-loader > rework > css > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > postcss-preset-env > postcss-color-gray > postcss-values-parser > flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > jest-circus > jest-runner > jest-config > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.

warning workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > react-scripts > workbox-webpack-plugin > workbox-build > strip-comments > babel-plugin-transform-object-rest-spread > babel-runtime > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

[3/5] 🚚  Fetching packages...

info @lmdb/lmdb-linux-arm@2.7.0: The platform "darwin" is incompatible with this module.

info "@lmdb/lmdb-linux-arm@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-linux-arm@2.7.0: The CPU architecture "arm64" is incompatible with this module.

info @lmdb/lmdb-linux-arm64@2.7.0: The platform "darwin" is incompatible with this module.

info "@lmdb/lmdb-linux-arm64@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-win32-x64@2.7.0: The platform "darwin" is incompatible with this module.

info "@lmdb/lmdb-win32-x64@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-win32-x64@2.7.0: The CPU architecture "arm64" is incompatible with this module.

info @lmdb/lmdb-darwin-x64@2.7.0: The CPU architecture "arm64" is incompatible with this module.

info "@lmdb/lmdb-darwin-x64@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-linux-x64@2.7.0: The platform "darwin" is incompatible with this module.

info "@lmdb/lmdb-linux-x64@2.7.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @lmdb/lmdb-linux-x64@2.7.0: The CPU architecture "arm64" is incompatible with this module.

info @msgpackr-extract/msgpackr-extract-darwin-x64@2.2.0: The CPU architecture "arm64" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-darwin-x64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-linux-arm64@2.2.0: The platform "darwin" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-linux-arm64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-win32-x64@2.2.0: The platform "darwin" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-win32-x64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-win32-x64@2.2.0: The CPU architecture "arm64" is incompatible with this module.

info @msgpackr-extract/msgpackr-extract-linux-x64@2.2.0: The platform "darwin" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-linux-x64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-linux-x64@2.2.0: The CPU architecture "arm64" is incompatible with this module.

info @msgpackr-extract/msgpackr-extract-linux-arm@2.2.0: The platform "darwin" is incompatible with this module.

info "@msgpackr-extract/msgpackr-extract-linux-arm@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.

info @msgpackr-extract/msgpackr-extract-linux-arm@2.2.0: The CPU architecture "arm64" is incompatible with this module.

[4/5] πŸ”—  Linking dependencies...

warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react@^7.21.5".

warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0".

warning " > babel-eslint@11.0.0-beta.2" has unmet peer dependency "@babel/core@>=7.2.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @babel/eslint-plugin@7.19.1" has unmet peer dependency "@babel/eslint-parser@>=7.11.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > contract > @agoric/swingset-vat@0.27.0" has unmet peer dependency "@endo/ses-ava@^0.2.25".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @agoric/ertp > @agoric/swingset-vat@0.30.3-dev-2ddcdf6.0" has unmet peer dependency "@endo/ses-ava@^0.2.36".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @agoric/ertp > @agoric/swingset-vat@0.30.3-dev-2ddcdf6.0" has incorrect peer dependency "ava@^5.0.1".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > contract > @agoric/run-protocol > @agoric/swingset-vat@0.28.0" has unmet peer dependency "@endo/ses-ava@^0.2.25".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @agoric/run-protocol > @agoric/swingset-vat@0.28.1-dev-dbdd778.0" has unmet peer dependency "@endo/ses-ava@^0.2.27".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @agoric/ertp > @agoric/store > @fast-check/ava@1.1.2" has incorrect peer dependency "ava@>=4.0.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > contract > @endo/bundle-source > @rollup/plugin-commonjs@19.0.2" has unmet peer dependency "rollup@^2.38.3".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > contract > @endo/bundle-source > @rollup/plugin-node-resolve@13.3.0" has unmet peer dependency "rollup@^2.42.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > contract > @agoric/vats > @agoric/pegasus > @agoric/swingset-vat@0.30.2" has unmet peer dependency "@endo/ses-ava@^0.2.33".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > contract > @agoric/vats > @agoric/pegasus > @agoric/swingset-vat@0.30.2" has incorrect peer dependency "ava@^4.3.1".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base@0.27.0" has unmet peer dependency "@opentelemetry/api@^1.0.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > contract > @endo/bundle-source > @rollup/plugin-commonjs > @rollup/pluginutils@3.1.0" has unmet peer dependency "rollup@^1.20.0||^2.0.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base > @opentelemetry/core@1.0.1" has unmet peer dependency "@opentelemetry/api@>=1.0.0 <1.1.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @opentelemetry/sdk-metrics-base > @opentelemetry/resources@1.0.1" has unmet peer dependency "@opentelemetry/api@>=1.0.0 <1.1.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @agoric/wallet-connection > @agoric/web-components > rollup-plugin-polyfill-node@0.9.0" has unmet peer dependency "rollup@^1.20.0 || ^2.0.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-agservers > @agoric/cosmic-swingset > @agoric/telemetry > @opentelemetry/exporter-trace-otlp-http > @opentelemetry/sdk-trace-base@1.0.1" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.1.0".

warning "workspace-aggregator-feaf39f8-f21b-4517-9fcc-ff8ba66992ac > @agoric/dapp-treasury-ui > @agoric/wallet-connection > @agoric/web-components > rollup-plugin-polyfill-node > @rollup/plugin-inject@4.0.4" has unmet peer dependency "rollup@^1.20.0 || ^2.0.0".

[5/5] πŸ”¨  Building fresh packages...

[9/21] ⠈ fsevents

[2/21] ⠈ better-sqlite3

[-/21] ⠈ waiting...

[17/21] ⠈ bufferfromfile

error /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3: Command failed.

Exit code: 1

Command: prebuild-install || npm run build-release

Arguments: 

Directory: /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3

Output:

prebuild-install warn install No prebuilt binaries found (target=16.17.0 runtime=node arch=arm64 libc= platform=darwin)

gyp info it worked if it ends with ok

gyp info using node-gyp@7.1.2

gyp info using node@16.17.0 | darwin | arm64

> better-sqlite3@7.6.2 build-release

> node-gyp rebuild --release

gyp info find Python using Python version 3.11.0 found at "/usr/local/bin/python3"

(node:79525) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.

(Use `node --trace-deprecation ...` to show where the warning was created)

gyp info spawn /usr/local/bin/python3

gyp info spawn args [

gyp info spawn args   '/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/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   '/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3/build/config.gypi',

gyp info spawn args   '-I',

gyp info spawn args   '/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/addon.gypi',

gyp info spawn args   '-I',

gyp info spawn args   '/Users/chrisboydstun/Library/Caches/node-gyp/16.17.0/include/node/common.gypi',

gyp info spawn args   '-Dlibrary=shared_library',

gyp info spawn args   '-Dvisibility=default',

gyp info spawn args   '-Dnode_root_dir=/Users/chrisboydstun/Library/Caches/node-gyp/16.17.0',

gyp info spawn args   '-Dnode_gyp_dir=/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp',

gyp info spawn args   '-Dnode_lib_file=/Users/chrisboydstun/Library/Caches/node-gyp/16.17.0/<(target_arch)/node.lib',

gyp info spawn args   '-Dmodule_root_dir=/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3',

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 ]

Traceback (most recent call last):

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>

    sys.exit(gyp.script_main())

             ^^^^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main

    return main(sys.argv[1:])

           ^^^^^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main

    return gyp_main(args)

           ^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main

    [generator, flat_list, targets, data] = Load(

                                            ^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load

    result = gyp.input.Load(

             ^^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load

    LoadTargetBuildFile(

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile

    build_file_data = LoadOneBuildFile(

                      ^^^^^^^^^^^^^^^^^

  File "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile

    build_file_contents = open(build_file_path, "rU").read()

                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^

ValueError: invalid mode: 'rU' 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 (/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/@npmcli/run-script/node_modules/node-gyp/lib/configure.js:351:16)

gyp ERR! stack     at ChildProcess.emit (node:events:513:28)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

gyp ERR! System Darwin 21.6.0

gyp ERR! command "/usr/local/bin/node" "/Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/.bin/node-gyp" "rebuild" "--release"

gyp ERR! cwd /Users/chrisboydstun/Desktop/coding/dapp-pool-lending-protocol/node_modules/better-sqlite3
anilhelvaci commented 1 year ago

My node version is 14.15 I'll update it to 16 and try agoric install again.

anilhelvaci commented 1 year ago

I was able to reproduce this, lerna was casuing the problem. It's local node-gyp installation interfered with the global one. I removed lerna and tried again. Everything seems to be working. So I'll close this for now.