I am currently facing an issue when invoking a server method from the frontend app. The browser returns an error “Uncaught (in promise) DOMException: Failed to execute ‘postMessage’ on ‘MessagePort’: Event object could not be cloned.”
I attached the app as it is just the base app created from fdk with a changed manifest file and added server.js. new-ticket-background.zip (4.7 KB)
I tried to publish the app and run it on our site directly to see if it’s not an issue with the local “debugger” but that didn’t fix it, it just didn’t do or log anything.
@Wesely,
Seems like there is an issue with adding the script in template.html,
you had added async for freshclient and defer for app.js, I had modified in the below script