This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 682
TypeError: r.URL is not a constructor #2539
Comments
This line should be the cause
I am not sure how the rest of environment is set up. Since you are in js, you should use a template literal for concatenating strings and variables. |
Forking is not yet supported in the browser. |
@Thankgod20 Thank you for letting us know. Closing this as a duplicate of #1245 |
This was referenced Oct 11, 2024
This was referenced Oct 13, 2024
This was referenced Oct 18, 2024
This was referenced Oct 20, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using ganache cdn and when i call the fork option i get these errors
Uncaught TypeError: r.URL is not a constructor at Object.normalize (ganache:2) at fill (ganache:2) at ganache:2 at Array.forEach (<anonymous>) at OptionsConfig.normalize (ganache:2) at new EthereumProvider (ganache:2) at new Connector (ganache:2) at GetConnector (ganache:2) at Object.initialize (ganache:2) at Object.provider (ganache:2)
here is the javascript code
`
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/web/ganache.min.js"></script>`
Any ideas on how to resolve these issue
The text was updated successfully, but these errors were encountered: