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

feat(website): RPC connect Metamask Networks #14068

Closed
wants to merge 1 commit into from

Conversation

MarcusWentz
Copy link
Contributor

No description provided.

@MarcusWentz
Copy link
Contributor Author

MarcusWentz commented Jun 28, 2023

It seems that

window.ethereum

is causing the preview build to fail while this runs correctly locally.

https://stackoverflow.com/questions/70961190/property-ethereum-does-not-exist-on-type-window-typeof-globalthis-error

Fixed with:

https://stackoverflow.com/a/72081301

need to also

npm i @metamask/providers

@MarcusWentz
Copy link
Contributor Author

There seems to be other dependency issues after running

npm i @metamask/providers

Maybe package.json wasn't updated correctly?

@MarcusWentz
Copy link
Contributor Author

MarcusWentz commented Jun 28, 2023

Running

pnpm add @metamask/providers

inside directory path

packages/website

fixed the GitHub deployment.

However, the Vercel deployment seems to be failing.

@MarcusWentz
Copy link
Contributor Author

Closing and starting with a new branch without any pnpm imports.

@MarcusWentz MarcusWentz deleted the metamaskNetworkButtons branch June 28, 2023 19:51
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

Successfully merging this pull request may close these issues.

1 participant