Issue
When opening, editing, or creating a new microflow or workflow in Studio Pro, the following error occurs:
t is not a function. Please Close and reopen this UI component. If the issue persists, contact Mendix Support.The microflow, or workflow, is not created, and the editor does not open, preventing further development activities.
Environment
- Studio Pro v10.24.0 - v10.24.22
- Studio Pro v11.0.0 and newer
Cause
An incompatibility between Studio Pro and Microsoft Edge WebView2 Runtime version 150.0.4078.48 causes the issue. The issue affects only the listed versions of Studio Pro running on machines where Microsoft Edge WebView2 version 150.0.4078.48 is installed. It affects the in-editor Maia features and their interaction with the WebView2.
The newer WebView2 Runtime version 150 introduces a compatibility issue that causes the t is not a function error when opening or creating empty microflows and workflows.
A permanent fix is included in upcoming Studio Pro releases.
Solution / Workaround
Upgrade to one of the following Mendix Studio Pro versions, or a newer release, once available. The permanent fix is included in these versions:
Mendix Studio Pro 10.24.23
Mendix Studio Pro 11.6.8
Mendix Studio Pro 11.12.1
Mendix Studio Pro 11.13 and newer
In the meantime, as a workaround, configure Mendix Studio Pro to use Microsoft Edge WebView2 Fixed Version Runtime 149 by following these steps:
Download Microsoft Edge WebView2 Fixed Version Runtime 149 and select the appropriate architecture for the operating system.
-
Extract the downloaded .cab file to a separate folder. For example:
C:\WebView2\149\
Do not uninstall or replace the system-installed WebView2 Runtime.
Open the Start menu and search for Edit environment variables for your account.
Click Environment Variables.
Under User variables, click New.
-
Enter the following values:
Variable name: WEBVIEW2_BROWSER_EXECUTABLE_FOLDER
Variable value: C:\WebView2\149\
Replace the example path with the folder where the WebView2 Runtime was extracted.
Click OK to save the environment variable.
Restart Studio Pro.
Internal information related
282634
C05C1BYTSQ2/p1783368514013639 , C05C1BYTSQ2/p1783408478519559
Additional information
Other documentation:
0 Comments