When attempting to republish an existing package, I get the following error message:
[2026-05-04 18:38:58.756] Compiling frontend in C:\Code\Acumatica\Application\SelectSiresAcumaticaSite\FrontendSources\screen
[2026-05-04 18:38:58.869] Error compiling frontend:
System.IO.DirectoryNotFoundException: Directory not found: C:\git\Acumatica\Application\NpmCache\AcumaticaERP
at PX.Web.Customization.Publish.NodePackageRunner.GetRealPath(String path)
at PX.Web.Customization.Publish.NodePackageRunner.InternalRunNodeUtility(String utilityPath, String workingDirectory, String arguments, LogSettings logSettings, Nullable`1 timeout, String nodeModulesPath, String tempDirPath)
at PX.Web.Customization.Publish.NodePackageRunner.RunNpm(String scriptName, String workingDirectory, String arguments, Nullable`1 timeout)
at Customization.FrontendCompiler.Compile(String tenantId, String[] screens)]
C:\Code\Acumatica\Application\NpmCache\AcumaticaERP exists.
C:\_GitHub-Source\Acumatica\Application\NpmCache\AcumaticaERP exists.
But C:\git\Acumatica\Application\NpmCache\AcumaticaERP does not exist.
Does anyone know what configuration setting is wrong and what it is actually trying to find?
Question
DirectoryNotFoundException when publishing customization
Login to the community
No account yet? Create an account
Social Login
Login with your Acumatica accountEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.