0

Changing computers forced me to install VS2022 and the WebCompiler 2022+ extension. When running my compiler, the following error is generated: OperationError: Operation on an invalid type in ......./file.less. The line in question has the following calculation: padding-left: 20px + @default-padding / 2; where the @default-padding variable has a value of 10px.

With the previous installed WebCompiler, I did not have this issue that the compiler is raising now. How do I address this please?

Rudolf Lamprecht
  • 1,050
  • 1
  • 14
  • 37

1 Answers1

0

Using this answer as a reference, can the --math=strict flag help?

Sand
  • 113
  • 2
  • 6