Malformed JavaScript file served to the browser from App Service

Damian Głowala 0 Reputation points
2024-03-06T10:19:44.0166667+00:00

I have deployed a Nuxt 3 web app using Azure App Service (on Linux). However, one of the JavaScript assets is malformed when served to the browser, which looks really odd:

User's image

I have excluded the possibility of file being corrupted after the build is completed, as when accessing the release's files via SSH in Kudu, the file looks correct (compared to the above):

User's image

I would really appreciate any hints as to what the cause might be, I am completely clueless at this point... Thank you!

Microsoft 365 and Office | Development | Office JavaScript API
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.