Loading ...

Modern UI, npm getmodules error

When trying to execute the npm run getmodules command in an Acumatica project using Modern UI based on Node.js, an error occurs that is related to processes that cannot complete correctly ( See the screenshot below ).



To solve this issue, open the gulp-tools.ts file in the FrontendSources folder and add the Shell property to ensure proper execution of the command:


const cmd = spawn(command, args, { cwd, shell:true });

 

After making this change, follow these steps to verify the fix:

1.     Save the changes to gulp-tools.ts.

2.     Run the following command again:

npm run getmodules

3.     Observe the output and check if the command executes successfully without errors.

By following this solution, you should be able to resolve the issue and allow npm run getmodules to function correctly.

Resolve Your Acumatica Development Issues with Expert Customization!

Encountering errors like this in your Acumatica project? Our team specializes in Acumatica customization and development. If you need tailored solutions or enhancements for your system, let us help!

👉 Request a customization now and streamline your development process!

Be the first to rate this post

  • Currently 0.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5