Skip to main content
Solved

Error when publishing any customization: npm run build failed

  • May 17, 2026
  • 2 replies
  • 11 views

lauraj46
Captain II
Forum|alt.badge.img+9

We are receiving an error when attempting to publish any customization in a SaaS 2025 R2 sandbox.  We were able to publish these same customizations successfully in this environment a few days earlier, and nothing has changed as far as I’m aware.  I have already tried clearing cache and a front end Application Restart, as well as unpublishing and republishing.  The customizations validate successfully - the error occurs during the publication process.

 

Has anyone else seen this error, and what is the solution in a SaaS environment?

Best answer by lauraj46

On further testing, it looks like this issue may have been related to a missing screen dependency in one of the tenants.  The projects published successfully from a different tenant.

2 replies

lauraj46
Captain II
Forum|alt.badge.img+9
  • Author
  • Captain II
  • Answer
  • May 17, 2026

On further testing, it looks like this issue may have been related to a missing screen dependency in one of the tenants.  The projects published successfully from a different tenant.


Forum|alt.badge.img+3

Hi ​@lauraj46 recently I face this error in Sandbox & what I did is removed MUI files from customization & published. temporarily removing Modern UI files from the customization project, publish (which should succeed), then re-add them and publish again. This forces the system to lay down fresh copies.

Since you're in SaaS, you can't access the server filesystem directly, so this option is there.

you can only remove MUI screen files which is in this error (IN202500, IN801000, IN802000).