Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some module has been externalized for browser compatibility. Cannot access it in client code. #547

Closed
YeungKC opened this issue Aug 5, 2022 · 4 comments

Comments

@YeungKC
Copy link

YeungKC commented Aug 5, 2022

I hope using web3modal with svelte and follow Using with Vite, and I got Module "http" has been externalized for browser compatibility. Cannot access "http.globalAgent" in client code.

demo: https://stackblitz.com/edit/vitejs-vite-ogw6et?file=src/App.svelte

@YeungKC YeungKC changed the title Using web3modal with svelte issue Some module has been externalized for browser compatibility. Cannot access it in client code. Aug 5, 2022
@vdkhvb
Copy link

vdkhvb commented Aug 21, 2022

Fixed it at my end by installing the events and stream modules.
npm install events
npm install stream

@chadyj chadyj added the v1 label Sep 19, 2022
@LemonNekoGH
Copy link

I am using Vue3+Vite, the same issue.

@LemonNekoGH
Copy link

WalletConnect/walletconnect-monorepo#341
My be usefull

@xzilja
Copy link
Contributor

xzilja commented Jan 21, 2023

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x
Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)

If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.

@xzilja xzilja closed this as completed Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants