-
-
Notifications
You must be signed in to change notification settings - Fork 20.1k
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
HTML5 link error behind CloudFlare pages: WebAssembly.instantiate(): Import #0 module="a" function="a": function import requires a callable #86099
Comments
Which browser(s) did you test? Are you testing with a local web server? Opening a Please upload a minimal reproduction project1 to make this easier to troubleshoot. Footnotes
|
@PeterMarques can you upload a minimal project since most of the description it's just the debug console, This would help better to understand the problem. |
There is no need for minimal project. The issue arives from cloudflare pages, again. If i use any of the 2 links, version internal, or internal, there is no error, if i use the custom domain one, there is the error. But, i fixed that somehow, but now it is back. If more details arise, or i can reproduce the error in other form, i will update. |
Only other place i found a reference to this error: |
Can you check the Network tab in your web browser's DevTools to make sure Godot is able to find all files when loading the page? To do so, open DevTools by pressing F12 or Ctrl + Shift + I, go to its Network tab and reload the page. Check for any 404 errors or similar. |
It seens to be a cache error, when the page is updated it stays like that
for a while, even if devmode is enabled.
Because after a while its working again.
(or in a visit mode new tab)
But thats a thing, to have a new page load in cached browsers is a luck
shot, how to force to every time load the new page if there is one? maybe
that is the general fix.
…___________________
Att:. Peter P. Marques
Em sáb., 23 de dez. de 2023 às 14:01, Hugo Locurcio <
***@***.***> escreveu:
Can you check the Network tab in your web browser's DevTools to make sure
Godot is able to find all files when loading the page? To do so, open
DevTools by pressing F12 or Ctrl + Shift + I, go to its *Network* tab and
reload the page. Check for any 404 errors or similar.
—
Reply to this email directly, view it on GitHub
<#86099 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH2UPVFWWAH23KHDXPCOQZ3YK4E4XAVCNFSM6AAAAABASIWCYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGMZTCNJQGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Tested versions
System information
linux
Issue description
Sometimes, and when happed i aways fixed and it returned again, and if i re-fix i wil try to get what i did to fix, and describe, but:
:
(on brave):
index.js:45 Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #0 module="a" function="a": function import requires a callable
at index.js:45:17
(on firefox):
Uncaught (in promise) LinkError: import object field 'a' is not a Function
and it will refuse to finish loading.
What the heck is module a function a?
(more on the details (brave))
(anonymous) | @ | index.js:45
| Promise.then (async)
| instantiateWasm @ index.js:441
| createWasm | @ index.js:9
| (anonymous) | @ index.js:9
| (anonymous) | @ index.js:625
| Promise.then (async)
| (anonymous) | @ index.js:623
| doInit | @ index.js:622
| init | @ index.js:639
| startGame | @ index.js:738
| (anonymous) | @ (index):222
| (anonymous) | @ (index):248
Steps to reproduce
open web export
Minimal reproduction project (MRP)
none
The text was updated successfully, but these errors were encountered: