Quick-Fix node-sass no such file or directory error

Q: Recently I run into this error whe create a vue project via Vue-Cli :

1
2
3
4
5
 ERROR  Failed to compile with 1 error                             

error in ./src/App.vue?vue&type=style&index=0&lang=scss&

Syntax Error: Error: ENOENT: no such file or directory, scandir '/***/node_modules/node-sass/vendor'

A: Simply rebuild wil do the tirck:npm rebuild node-sass

Reference

Error: ENOENT: no such file or directory, scandir ‘**/node_modules/node-sass/vendor’ #1579

Quick Fix - Navbar Covers Heading While Using Anchor Link Quick Fix - macOS WiFi Captive Portal Broken
Buy Me A Coffee

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×