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.