Laravel-mix: Error: Cannot find module 'sass'

Created on 15 May 2019  路  2Comments  路  Source: JeffreyWay/laravel-mix

Fresh install.

let mix = require('laravel-mix');
mix.sass('src/client/styles/index.scss', 'dist/')
   .js('src/client/js/index.js', 'dist/')
   .setPublicPath('dist');

getting a Error: Cannot find module 'sass'

Most helpful comment

npm cache clear --force
npm install sass

All 2 comments

npm cache clear --force
npm install sass

thankyou bro its really work

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hasnatbabur picture hasnatbabur  路  3Comments

rlewkowicz picture rlewkowicz  路  3Comments

nezaboravi picture nezaboravi  路  3Comments

jpmurray picture jpmurray  路  3Comments

Cheddam picture Cheddam  路  3Comments