blocknative / web3-onboard

Client library to onboard users to web3 apps
https://onboard.blocknative.com/
MIT License
817 stars 479 forks source link

Impossible to use transaction-preview package #2196

Open 0xOzy42 opened 2 months ago

0xOzy42 commented 2 months ago

Current Behavior

The transaction-preview package doesn't seem to work when imported into the dapp. The error displayed indicates that the utils import of ethers is not working.

Expected Behavior

No response

Steps To Reproduce

  1. npm i @web3-onboard/transaction-preview
  2. import the transactionPreviewModule into the config file

What package is effected by this issue?

@web3-onboard/transaction-preview

Is this a build or a runtime issue?

N/A

Package Version

@web3-onboard/transaction-preview 2.0.9

Node Version

20.10.0

What browsers are you seeing the problem on?

No response

Relevant log output

./node_modules/@web3-onboard/transaction-preview/dist/index.js
Attempted import error: 'ethers'.'utils' is not exported from 'ethers' (imported as 'ethers').

Anything else?

No response

Sanity Check