TypeError: this.getOptions is not a function TypeError: this.getOptions is not a function vue.js vue.js

TypeError: this.getOptions is not a function


Similar to what @KostDM said, in my case it seems like sass-loader@11.0.0 doesn't work with vue@2.6.12.

I installed sass-loader@10.1.1 and it worked like a charm again.

In your package.json:

"sass-loader": "^10",


I had the same problem resolved by downgrading sass-loader to 10.1.1. I am using @vue/cli 4.5.8 that includes webpack@4.46.0.

From v11.0.0 of sass-loader and v8.0.0 of less-loader, the

minimum supported webpack version is 5


For me it helped to downgrade postcss-loader

+ "postcss-loader": "^4.2.0",- "postcss-loader": "^5.0.0",