Syntax error: typeerror: this.getoptions is not a function an error is reported when the. SCSS file is imported globally

Question

reason

The reason is that the downloaded sass loader version is too high and incompatible

terms of settlement

Yarn remove sass loader uninstall
yarn add sass- [email protected] -D install a lower version

Succeeded

Read More: