hashgraph / hedera-wallet-connect

This package is a messaging relay between decentralized applications and wallets in Hedera network based on Wallet Connect relays.
Apache License 2.0
9 stars 18 forks source link

Critical Dependency #188

Open kevincompton opened 3 months ago

kevincompton commented 3 months ago

I'm getting the following when trying to build my Next js application using the hashgraph and hashconnect packages:

./node_modules/@hashgraph/hedera-wallet-connect/dist/node-esm.js Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

To Reproduce Steps to reproduce the behavior:

  1. Install and require: "@hashgraph/sdk": "^2.44.0", "hashconnect": "^3.0.13",
  2. Build the app
  3. Notice the warning printed in the build output

Expected behavior I'm nnot sure that this is the reason my application fails to build but it is one of the warnings before exiting that I'm trying to address.

thedanielmark commented 3 months ago

Having the same issue with my Next.js application.

"@hashgraph/sdk": "^2.41.0" "hashconnect": "^3.0.13"