-
Notifications
You must be signed in to change notification settings - Fork 149
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
get_starknet_core_1.getStarknet
is not a function
#245
Comments
It looks like something strange with |
I tried to reproduce the issue with the following steps:
Unfortunately I did not get any error. Can you try to run the same steps as me and see if there is any issue? |
Alright, I'll try that |
Are you using If you attach a debugger in the browser, you should see something like this (notice the .cjs extension) |
I was able to fix the issue my monkey patching the webpack config used by cra. Here is the commit that shows exactly how to do it |
This fixed my issue. Thanks for helping with the problem. |
Ended up using this facebook/create-react-app#12700 (comment) somehow the
|
InjectedConnector.ensureWallet()
after upgrading to 0.17.1
get_starknet_core_1.getStarknet
is not a function
While using the
useConnectors()
hook, the following error occurred when accessingconnector
methods after upgrading to version v0.17.1 from v0.14.6It appears the error only occurs for methods that use
ensureWallet()
. The error indicates that.getStarknet
is not a function, however tracing back to the line show.getStarknet
is in fact a function.The text was updated successfully, but these errors were encountered: