Skip to main content
Answer

This case in the T290 learning document, has anyone encountered this issue when running the build command?

  • May 14, 2025
  • 2 replies
  • 71 views

Forum|alt.badge.img

PS D:\TCourseInstances\SmartFix_T290\FrontendSources\screen> npm run build-dev  modules=RS

> screen@0.1.0 build-dev
> cross-env node --max_old_space_size=6144 --optimize_for_size --stack_size=6144 --trace-warnings ./node_modules/webpack/bin/webpack --progress modules=RS

[webpack-cli] 'modules=RS' is an invalid value for the --progress option. Only 'profile' is allowed.
 

Best answer by aiwan

Hi ​@AndrewZ 

 

I believe that the command in 25.1 onwards is npm run build-dev ‘---’ --env screenIds=XXXXXXXX

Instead of npm run build-dev ‘--’ --env screenIds=XXXXXXXX

 

I added the apostrophes to symbolise the change as it might be hard to see without.

 

Aleks

2 replies

Forum|alt.badge.img+1
  • Semi-Pro III
  • May 14, 2025

@AndrewZ 

I haven't tested it, but the following article might be helpful.

Thanks


Forum|alt.badge.img+8
  • Captain II
  • Answer
  • May 14, 2025

Hi ​@AndrewZ 

 

I believe that the command in 25.1 onwards is npm run build-dev ‘---’ --env screenIds=XXXXXXXX

Instead of npm run build-dev ‘--’ --env screenIds=XXXXXXXX

 

I added the apostrophes to symbolise the change as it might be hard to see without.

 

Aleks