Request for Assistance: "TypeError: Cannot read properties of undefined (reading 'location')"

I am facing an issue while setting up a front-end application for Freshsales Suite. After following the standard testing procedure:

  1. Running the application with fdk run
  2. Appending ?dev=true to the Freshsales Suite account URL

I encountered the following error:

TypeError: Cannot read properties of undefined (reading ‘location’)

  • The application is not displayed as configured in the manifest.json file.
  • I have reviewed several articles with similar issues but have not found a solution.

Could you please help me identify the cause of this error and provide a solution?

Thank you in advance for your assistance.

I have come across similar articles for quite some time, but I couldn’t find a solution on how to implement it to achieve the desired display position in the application
image
fdk -v → 9.1.2

Hey @Smbplus_Tiktok,
Can you confirm if the app renders on different placeholders? Also can you confirm if the app has a template.html? I noticed a new line after location, can you lint the JSON structure and remove the new line?