Spent a half hour on the forums trying to solve this one the other day. Then – classic – I forgot what the solution was and spent another half hour again just there.
If you are getting this error “TypeError: this.getOptions is not a function”
You need to:
yarn remove sass-loader
//or npm equivalent:
npm uninstall sass-loader
And then install version 10 of sass-loader
yarn add sass-loader@10
Need rapid website development:
For smaller projects at high speed
-
Adding script tag embed to Gatsby component
Read More -
Get more than 100 queries in GraphQL (I felt stupid)
Read More -
Animate on Scroll (AOS) into Nuxt js
Read More -
WordPress Super-admin hack
Read More -
Add content or ACF field under thumbnail/image gallery in Woocommerce
Read More