Skip to main content

Invoke-NodeBuild

  • October 12, 2025
  • 2 replies
  • 56 views

Kyle Vanderstoep
Varsity I
Forum|alt.badge.img+1

Hi everyone,

This modern UI conversion process is bumpy and tough for all of us. One of the things I have already been struggling with is managing my node installations between 25R1 and 25R2, and I imagine that as more versions come out, it will only get harder. Even with node version manager, you have to switch to the correct version of node for the version of Acumatica (if I understand correctly)

 

Acumatica stores the path to the node version it needs in the web.config file. So I thought what if I just made a quick powershell module that leverages that path! So if you are in a site directory, you can always build using the correct specified node version. Introducing AcumaticaNodeHelper:
lekker-solutions/acumatica-nodehelper: Acumatica Node Helper

 

# The module is registered in the Powershell Gallery

Install-Module AcumaticaNodeHelper

# Change directory to the root of the site

cd C:\Acumatica\MyClientSite

 

# Build all pages and modules

Invoke-NodeBuild

 

# Build specific pages

Invoke-NodeBuild -Pages "SO301000,SO303000"

 

# Build specific modules

Invoke-NodeBuild -Modules "LS,PX"

 

# Build specific pages and modules

Invoke-NodeBuild -Pages "SO301000" -Modules "LS"

 

Voila! One less thing to deal with when you are building your sites.

Currently, only run build-dev is supported, but ill also be implementing watch as well.

2 replies

Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • October 13, 2025

Thank you for sharing this tip with the community ​@Kyle Vanderstoep!


Kyle Vanderstoep
Varsity I
Forum|alt.badge.img+1

Just wanted to mention, I pushed version 1.0.2 that implements
'Invoke-NodeBuild'
'Invoke-NodeGetModules'
'Invoke-NodeWatch'

Invoke-NodeBuild now includes the -Development flag which adds the customFolder=development which will build your pages inside of the /development folder so you dont have to switch things back and forth