Skip to main content
Question

DirectoryNotFoundException when publishing customization

  • May 4, 2026
  • 1 reply
  • 17 views

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?
 

1 reply

  • Author
  • Freshman II
  • May 4, 2026

These ones:

    <add key="NodeJs:NpmCachePath" value="C:\git\Acumatica\Application\NpmCache\AcumaticaERP" />
    <add key="NodeJs:NodeTempPath" value="C:\git\Acumatica\Application\NodeTemp\AcumaticaERP" />
    <add key="NodeJs:NodeJsPath" value="C:\Program Files\AcumaticaTools\NodeJS\node-v22.11.0-win-x64" />