I am working on MUI in 25R2 for my custom screens.
I have v22.21.1 installed. According to my web search,
“For Acumatica 2025, specifically for versions like 2025 R1 and 2025 R2, the recommended Node.js version is 22.x.x, with specific references to 22.11.0 for 2025 R1.”
From the Node.js web site, the closest version I could find is 22.21.1.
When I run npm run getmodules, it does it’s thing.
Then, I run npm run build-dev. It also does it’s thing and my pages are compiled.
If I subsequently run npm run build -- ---env screenIds=IC401095 to rebuild my page after a tweak, I get this error:
exec error: Error: Command failed: gulp build
'gulp' is not recognized as an internal or external command,
operable program or batch file.
Here is my workaround to update my page:
- Re-run npm run getmodules
- run npm run build -- ---env screenIds=IC401095
The page is compiled and looks fine on my site.
I noticed that when I run a build, it says node build-and-clean.js
> build
> node build-and-clean.js ---env screenIds=IC401095
I THINK that the getmodules puts all the correct files in place and the build works ONE time. A subsequent attempt to build loses the original .js files because of the build-and-clean.
Is this a bug? Has anyone else encountered this?


