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

Keplr Extension v3 TypeError: Failed to construct 'URL': Invalid URL #1143

Open
Victor2023Dev opened this issue Jun 19, 2024 · 1 comment
Open
Labels
bug Something isn't working keplr-extension This is for keplr browser extension

Comments

@Victor2023Dev
Copy link

Victor2023Dev commented Jun 19, 2024

I tried to build Keplr extension with node v18.20.3 on my M1 Mac using the following instructions

# This script is example for mac arm64 user. for other OS, replace URL(starts with https://..) to be matched with your OS from https://github.com/protocolbuffers/protobuf/releases/tag/v21.3
curl -Lo protoc-21.3.zip https://github.com/protocolbuffers/protobuf/releases/download/v21.3/protoc-21.3-osx-aarch_64.zip 
unzip protoc-21.3.zip -d $HOME/protoc
sudo  cp -r $HOME/protoc/include /usr/local
sudo  cp -r $HOME/protoc/bin /usr/local

yarn && yarn build

I tried to Load unpacked manifest-v3 extension to Chrome (v126), the wallet generation has succeeded. But when I clicked on the extension button, it stuck in the Keplr logo giving the following error in the extension -> errors

Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
Context
register.html#
Stack Trace
504.bundle.js:1 (anonymous function)

How can I workaround this issue?

@Victor2023Dev Victor2023Dev added bug Something isn't working keplr-extension This is for keplr browser extension labels Jun 19, 2024
@MiMeSW
Copy link

MiMeSW commented Jul 28, 2024

We are currently facing the same issue.
Is this an actual bug or are some required config missing during the build? If so the readme might needs to be updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keplr-extension This is for keplr browser extension
Projects
None yet
Development

No branches or pull requests

2 participants