I’m trying to create a frontend app for Freshdesk using the Freshworks framework. I followed the standard setup, but when I run my app, I sometimes get the following error in the console:
ReferenceError: app is not defined
This happens when I call:
app.initialized().then(function(_client) {
// My code });
As a result, my app doesn’t run at all.
Why app Is it sometimes not recognized?
How to properly initialize a Freshdesk app so this error doesn’t occur.
The same issue has been discussed in another thread. Please refer to the following link: "app is not defined" Error in Sidebar App.
If the problem persists, kindly let me know.