Issue
During the local deployment of an application running in React Client mode, it fails in Studio Pro with the following error message:
Deployment failed during the export of pluggable widgets. See details for more information.
Please make sure the following pluggable widgets are updated to the latest version available in the marketplace.
If you own any of these widgets, please check if they were generated using the latest version of pluggable-widgets-tools and are ES6 modules:
• IFrameComponent (mendix.iframecomponent)Environment
Studio Pro v10.12 and newer
Cause
Starting from Studio Pro 10.12, stricter requirements are enforced for pluggable widgets during deployment.
Widgets must:
• Be built using the latest version of Pluggable Widget Tools
• Be compatible with ES6 module standards
If a widget (such as IFrameComponent (mendix.iframecomponent)) was generated using an older tooling version or does not meet ES6 requirements, the deployment process fails during the export step.
Solution / Workaround
Follow one of the proposal solutions below to avoid the mentioned error message.
Recommended Solution (Update Widget)
Go to the Mendix Marketplace.
Search for the affected widget (e.g., IFrameComponent).
Download and install the latest available version.
Replace the outdated widget in the project if necessary.
Custom Widget Fix
Update the local Pluggable Widget Tools to the latest version.
Regenerate or rebuild the widget, ensuring:
ES6 module compatibility
Updated dependencies
Repackage and re-import the widget into the Mendix project.
Redeploy the application.
Alternative Workaround (Disable React Client)
If updating the widget is not immediately possible:
Open the app in Mendix Studio Pro.
Go to app Settings.
Navigate to the Runtime tab.
Disable the React Client option.
Save changes and redeploy the application.
Note: Disabling the React Client allows older widgets to function, but is not recommended as a long-term solution, since newer Mendix features depend on React Client compatibility.
Temporary Workaround
- Remove the affected widget from the page or project to allow deployment to proceed.
- Replace it with an alternative widget that is actively maintained and compatible.
Internal information related
- CJZ85RLTA/p1773740694645089
Additional information
Mendix documentation:
0 Comments