Git Syntax Error: TypeError: this.getOptions is not a function [How to Solve]

The reason is that the less loader version number is too high
you can view the dependent version numbers in package.json

Step: lower the less loader version number

npm install -D [email protected]

Or download with yarn

yarn add -D [email protected]

Read More: