ERROR in ./node_modules/css-loader?

后端 未结 8 1589
一生所求
一生所求 2021-02-03 22:14

I was trying to run an angular project in windows 10. It is the same project that I am doing in Ubuntu. When I clone the repository and install all the node packages I encounter

8条回答
  •  情话喂你
    2021-02-03 22:52

    Laravel Mix 4 switches from node-sass to dart-sass (which may not compile as you would expect, OR you have to deal with the issues one by one)

    OR

    npm install node-sass
    
    
    mix.sass('resources/sass/app.sass', 'public/css', {
    implementation: require('node-sass')
    });
    

    https://laravel-mix.com/docs/4.0/upgrade

提交回复
热议问题