I’m trying to follow course T290 and work with Modern UI screens. I’m hitting one problem after another.
The first problem was that "npm run getmodules” failed with error “ERR_MODULE_NOT_FOUND”.
Running “node --version” reported v23.11.0, so I un-installed node.js and installed version 22.15.0 instead.
“npm run getmodules” was then able to finish successfully. (Using a Powershell terminal, as Administrator, in directory C:\Acumatica\SmartFix_T290\FrontendSources.)
“npm run build-dev” also succeeds.
But I would expect to be able to recompile a single screen using e.g.:
cd screen
npm run build-dev -- --env screenIds=SO101000
This failed with error 'screenIds=SO101000' is an invalid value for the --progress option. Only 'profile' is allowed.
However, this succeeded (note the extra dash):npm run build-dev --- --env screenIds=SO101000
There’s a few deprecation warnings. (ts-loader: Using ttypescript@4.6.2. This version may or may not be compatible with ts-loader.)