Consensys / quorum-explorer

A light-weight front-end explorer for Besu and GoQuorum to visualise private networks and deploy smart contracts
Apache License 2.0
27 stars 36 forks source link

Can't build #72

Open icemagno opened 10 months ago

icemagno commented 10 months ago
   Linting and checking validity of types ...
Failed to compile.

./src/pages/api/contractDeploy.ts:67:22
Type error: 'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.

  65 |
  66 |   const web3 = new Web3(rpcUrl);
> 67 |   const web3quorum = new Web3Quorum(
     |                      ^
  68 |     web3,
  69 |     { privateUrl: privateUrl },
  70 |     client === "goquorum" ? true : false
npm notice
npm notice New minor version of npm available! 10.2.4 -> 10.4.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
npm notice Run `npm install -g npm@10.4.0` to update!
npm notice
sinbumu commented 2 months ago

im also has this issue

kowaalski commented 1 month ago

I resolve in this PR: https://github.com/Consensys/quorum-explorer/pull/74