DEV Community

Cover image for How to resolve "Failed to resolve loader: sass-loader" Error in VueJs 3?
Gayathri R
Gayathri R

Posted on • Updated on

How to resolve "Failed to resolve loader: sass-loader" Error in VueJs 3?

How to resolve "Failed to resolve loader: sass-loader" (or) "TypeError: this.getOptions is not a function" Issue in VueJs 3?

Solution:-

cd <Root of the Project Directory>
npm install -D sass-loader@10.1.1 sass
rm -rf node_modules
npm install
npm run serve
Enter fullscreen mode Exit fullscreen mode

Top comments (0)