-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
window.__TAURI__.invoke() throws "_this.transformCallback is not a function" #1547
Comments
Can you please update and try again? It seems that tauri.rs is out of date: |
Whoops, I thought
Sorry, I'm a rust newbie; I'll try to figure this out |
dang - you're right! it seems that it won't find the beta. @lucasfernog - got an idea here? this will probably follow us for a while |
I ran
I tried again and it's still happening. |
It works when I import invoke, so this may just be a problem with
I'm going to move on now, but let me know if I can be useful for resolving the root cause somehow. :) |
Thanks for the headsup and the speedy resolution. Going to close this, since your issue was resolved. |
Sounds good, though I hope you won't forget to check on |
Hmmm the issue happened because you changed the context of |
Describe the bug
Whenever I call
window.__TAURI__.invoke()
, I get this error:To Reproduce
Code:
window.__TAURI__.invoke()
(see also line 4)Runnable example:
70a8f04a78ef8e0effc0052ea98077c0be1c2bb8
)yarn tauri dev
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform and Versions (please complete the following information):
Additional context
I've been using
window.__TAURI__.invoke()
because of #1512 -- I'll try using the imported version now that rc2 is out.Stack Trace
The text was updated successfully, but these errors were encountered: