Skip to main content
Question

24R2 [24.205.0015)] - How To create a new field in the sales order screen and display on the modern UI Sales order screen

  • December 24, 2024
  • 2 replies
  • 55 views

Hello Everyone, 

We are trying to create a new field in the sales order screen and we need to display it in the modern UI Sales order screen.  
Created a new instance with version (24.205.0015).

 

While creating the instance enabled the Install NodeJS  and Enable Modern UI check boxes.  
After completing the instance setup, I tried running the npm run getmodules command, but encountered the following issue. 

First the NodeJS   files was not in the FrontendSources  folder. The NodeJS  folder was created in the C:\Program Files\AcumaticaTools\NodeJS\node-v18.12.1-win-x64 path.  
Moved NodeJS  to the FrontendSources  and tried still same issue.  
I also tried running the .\npm command in the NodeJS folder, but it did not work. 

It seems the NodeJS is not installed that I have installed with Acumatica instance. Removed the NodeJS from the path and followed these instructions(https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows) 
After installing NVM (Node Version Manager), I verified whether any versions were installed or not. 
No versions are installed. 

I installed npm, but it showed some warnings during the process. 

When I ran the npm run getmodules command, I encountered errors. 

I have also tried running the npm run getmodules command after adding the new .ts and .html files to create a new page, but the issue still persists.

I attempted to resolve the issue by running the npm audit fix --force command. After that, I executed npm run build-dev, but the issue still persists. 

I have observed that I am getting an error at client-controls module. 


Thank you in advance.

2 replies

  • Author
  • Freshman II
  • 8 replies
  • December 24, 2024

Please refer the below document for the screenshots.

Thank you


harutyungevorgyan
Jr Varsity I
Forum|alt.badge.img

Hello ​@rakeshe45 ,

I see that you've successfully installed Node.js. The spawn EINVAL error you're encountering is due to a security update in Node.js. Fortunately, this issue can be easily resolved by modifying a specific option in your gulp-tools.ts file.

For detailed instructions, refer to the solution provided in the post below. I hope this helps, and everything works smoothly after applying the fix!

Let me know if you need any further assistance.

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings