Page MenuHomePhabricator

NPM: workspace
DraftPublic

Authored by Fabien on Sep 5 2024, 12:27.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Use npm workspace

Test Plan

TBD

Event Timeline

Tail of the build log:

Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/cashtab-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build cashtab-tests failed with exit code 1

Tail of the build log:

[547/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/editaddressdialog.cpp.o
[548/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/askpassphrasedialog.cpp.o
[549/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/peertablemodel.cpp.o
[550/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/qrc_bitcoin_locale.cpp.o
[551/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/splashscreen.cpp.o
[552/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/openuridialog.cpp.o
[553/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/qrimagewidget.cpp.o
[554/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionfilterproxy.cpp.o
[555/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/addresstablemodel.cpp.o
[556/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/overviewpage.cpp.o
[557/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondescdialog.cpp.o
[558/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receiverequestdialog.cpp.o
[559/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsentry.cpp.o
[560/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/recentrequeststablemodel.cpp.o
[561/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionrecord.cpp.o
[562/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receivecoinsdialog.cpp.o
[563/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/rpcconsole.cpp.o
[564/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/coincontroldialog.cpp.o
[565/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletframe.cpp.o
[566/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodeltransaction.cpp.o
[567/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionview.cpp.o
[568/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiontablemodel.cpp.o
[569/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/signverifymessagedialog.cpp.o
[570/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondesc.cpp.o
[571/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentrequestplus.cpp.o
[572/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentserver.cpp.o
[573/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsdialog.cpp.o
[574/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletcontroller.cpp.o
[575/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletview.cpp.o
[576/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodel.cpp.o
[577/581] Linking CXX static library src/qt/libbitcoin-qt-base.a
[578/581] Automatic MOC for target bitcoin-qt
[579/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt_autogen/mocs_compilation.cpp.o
[580/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/main.cpp.o
[581/581] Linking CXX executable src/qt/bitcoin-qt
Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/chronik-client-integration-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build chronik-client-integration-tests failed with exit code 1

Tail of the build log:

Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/alias-server-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build alias-server-tests failed with exit code 1

Tail of the build log:

Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/token-server-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build token-server-tests failed with exit code 1

Tail of the build log:

Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/chronik-client-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build chronik-client-tests failed with exit code 1

Tail of the build log:

[547/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/createwalletdialog.cpp.o
[548/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/askpassphrasedialog.cpp.o
[549/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/addresstablemodel.cpp.o
[550/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/rpcconsole.cpp.o
[551/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/openuridialog.cpp.o
[552/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/qrimagewidget.cpp.o
[553/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/overviewpage.cpp.o
[554/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/coincontroldialog.cpp.o
[555/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsentry.cpp.o
[556/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receivecoinsdialog.cpp.o
[557/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondescdialog.cpp.o
[558/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentserver.cpp.o
[559/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receiverequestdialog.cpp.o
[560/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/recentrequeststablemodel.cpp.o
[561/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/signverifymessagedialog.cpp.o
[562/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionfilterproxy.cpp.o
[563/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsdialog.cpp.o
[564/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionrecord.cpp.o
[565/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondesc.cpp.o
[566/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiontablemodel.cpp.o
[567/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletframe.cpp.o
[568/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionview.cpp.o
[569/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentrequestplus.cpp.o
[570/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodeltransaction.cpp.o
[571/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletcontroller.cpp.o
[572/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodel.cpp.o
[573/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletview.cpp.o
[574/581] Linking CXX executable src/bitcoind
[575/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/qrc_bitcoin.cpp.o
[576/581] Linking CXX executable src/bench/bitcoin-bench
[577/581] Linking CXX static library src/qt/libbitcoin-qt-base.a
[578/581] Automatic MOC for target bitcoin-qt
[579/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt_autogen/mocs_compilation.cpp.o
[580/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/main.cpp.o
[581/581] Linking CXX executable src/qt/bitcoin-qt
Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/ecash-lib-integration-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build ecash-lib-integration-tests failed with exit code 1

Tail of the build log:

Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/mock-chronik-client-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build mock-chronik-client-tests failed with exit code 1

Tail of the build log:

Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/ecash-herald-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build ecash-herald-tests failed with exit code 1

Tail of the build log:

Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/ecash-lib-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build ecash-lib-tests failed with exit code 1

Tail of the build log:

[547/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/editaddressdialog.cpp.o
[548/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/splashscreen.cpp.o
[549/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/peertablemodel.cpp.o
[550/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/askpassphrasedialog.cpp.o
[551/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/qrc_bitcoin_locale.cpp.o
[552/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/openuridialog.cpp.o
[553/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/qrimagewidget.cpp.o
[554/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/overviewpage.cpp.o
[555/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondescdialog.cpp.o
[556/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionfilterproxy.cpp.o
[557/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receiverequestdialog.cpp.o
[558/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/addresstablemodel.cpp.o
[559/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsentry.cpp.o
[560/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/recentrequeststablemodel.cpp.o
[561/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receivecoinsdialog.cpp.o
[562/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionrecord.cpp.o
[563/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/rpcconsole.cpp.o
[564/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodeltransaction.cpp.o
[565/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/coincontroldialog.cpp.o
[566/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionview.cpp.o
[567/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/signverifymessagedialog.cpp.o
[568/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletframe.cpp.o
[569/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondesc.cpp.o
[570/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiontablemodel.cpp.o
[571/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentrequestplus.cpp.o
[572/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentserver.cpp.o
[573/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsdialog.cpp.o
[574/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletcontroller.cpp.o
[575/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletview.cpp.o
[576/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodel.cpp.o
[577/581] Linking CXX static library src/qt/libbitcoin-qt-base.a
[578/581] Automatic MOC for target bitcoin-qt
[579/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt_autogen/mocs_compilation.cpp.o
[580/581] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/main.cpp.o
[581/581] Linking CXX executable src/qt/bitcoin-qt
Test depends on ecashaddrjs. Installing ecashaddrjs dependencies...
/work/modules/ecashaddrjs /work/abc-ci-builds/ecash-agora-integration-tests

added 573 packages, and audited 575 packages in 5s

74 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> @bitcoin-abc/ecashaddrjs@1.5.8 build
> webpack

CLI for webpack must be installed.
  webpack-cli (https://github.com/webpack/webpack-cli)

We will use "npm" to install the CLI via "npm install -D webpack-cli".
Do you want to install 'webpack-cli' (yes/no): npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /work/modules/ecashaddrjs
npm error workspace @bitcoin-abc/ecashaddrjs@1.5.8
npm error location /work/modules/ecashaddrjs
npm error command failed
npm error command sh -c webpack
Build ecash-agora-integration-tests failed with exit code 1