I’m trying to work through course T290 using 24.211.0024 (2025R1) and have got stuck with the step where I compile screen RS201000 using the command:
npm run build-dev -- --env screenIds=RS201000
This fails with the error:
Task never defined: screenIds=RS201000
Has anyone seen this before and knows how to resolve it?
Other npm commands work OK.
I needed to execute Set-ExecutionPolicy RemoteSigned before npm would run at all. And edit gulp-tools to resolve the message Error: spawn EINVAL by changing line 108 from const cmd = spawn(command, args, { cwd, }); to const cmd = spawn(command, args, { cwd, shell: true });
Also “npm run build-dev” works without the extra parameters.