System Administration: Node.js Installation

In MYOB Acumatica 2024.2.1, for the publication of customization projects with Modern UI files, Node.js must be installed, including the node version manager (nvm) and node package manager (npm). The MYOB Acumatica ERP Configuration Wizard installs the needed version of Node.js if the Install NodeJS check box is selected on the Website Configuration page of the wizard. This check box is selected by default, as shown in the following screenshot.

Figure 1. The Install NodeJS check box


If a system administrator wants to use the version of Node.js that has already been installed in the system, the administrator can clear the Install NodeJS check box and proceed with the use of the wizard. The administrator should then add the following key to the appSettings section of the Web.config file of the instance: <add key="NodeJs:NodeJsPath" value="C:\Program Files\NodeJs"/>, where value specifies the path to the location where Node.js has been installed.

Before publishing a customization project with Modern UI files, the administrator may need to further configure the MYOB Acumatica instance by specifying the following keys in the Web.config file of the instance:

  • NodeJs:NpmCachePath: Specifies the path for the npm cache, such as C:\instances\site\App_Data\npm-cache.
  • NodeJs:DevBuild: If its value is true, turns on the developer mode while the Customization Project Editor compiles the UI sources.