Sometimes, caching issues can cause problems with SASS compilation. Try clearing the Laravel Mix cache by running yarn clear , and then recompile your assets using npm run dev .
Delete the node_modules folder from your project directory. After removing the node_modules folder, you need to reinstall the dependencies.