main.3f3e0c7b.js:2 Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Rasmus Høholt Jensen 0 Reputation points
2023-04-03T15:07:49.1233333+00:00

Hi guys,

Im having some heavy troubles trying to avoid the azure minify feature on my static web app.
Ive tried everything a thosand times, and i cannot disable that future in any way.

Could you please advice, how to disable this? Either on azure or in my proj.

Thanks in hand!

Br
Rasmus

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 19,151 Reputation points Moderator
    2023-04-04T23:46:34.54+00:00

    Hi @Rasmus Høholt Jensen thanks for the question. The error message you shared means there is a problem with an undefined value you're trying to pass to a React component in your React code. But you can try disabling the feature by follow these steps:

    1. Open your Azure portal and navigate to your Static Web App resource.
    2. Click on the "Configuration" tab in the left-hand menu.
    3. Under the "Settings" section, click on "New application setting".
    4. In the "Name" field, enter "WEBSITE_DYNAMIC_COMPRESSION_DISABLED".
    5. In the "Value" field, enter "true".
    6. Click "OK" to save the new application setting.

    Hope that helps. Let us know if you have further questions

    0 comments No comments

Your answer

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