New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with sass-loader 8.0.0 #2206
Comments
getting this error:
|
|
can someone create a PR? |
What's a work around? Changing
|
I solved this incident by doing the following: |
A workaround for now is switching back to using Install node-sass
In
|
@sergeifilippov confirmed, switching to node-sass helped |
@sergeifilippov Dart sass accidentally released their 1.23 beta version as the latest version (sass/dart-sass#818). If you update your |
@patrickcarlohickman that also works, but for me spawns lot of warnings) |
I tried to return the sass loader to version 7 and it worked |
Switched back to using A workaround for now is switching back to using node-sass. Remove
In ... So far no issues 👍 |
can i see your webpack.mix.js codes.. i am having hard time using Vuetify 2 |
i am using vuetify 2 and im having issues with this webpack.mix.js set up. const mix = require('laravel-mix'); mix.webpackConfig({ }); mix.js('resources/js/app.js', 'public/js') im getting error...... ERROR in ./resources/js/routes.js ERROR in ./resources/js/routes.js |
Also facing this issue.
When running
and so on |
A quick and dirty work-around to this is to edit the src/components/Sass.js file and change the following function from this
to this
If you go this route it means that this change will most likely be over-ridden with future updates to laravel-mix. However, any future updates will hopefully provide compatibility with sass-loader 8 so this shouldn't be a problem. |
Indeed |
This has been fixed with v5.0.0 |
Yeah, But I have been using laravel-mix v3, as v4 and V5 has issue with dynamic import. |
…* instead of @8 due to error laravel-mix/laravel-mix#2206
NOTE that `sass-loader` needs to stay at v.7. Upgrading Laravel Mix past v4 can break with sass-loader v.8. laravel-mix/laravel-mix#2206
thanks it's really work ! |
Thank yous it worked for me ! |
I got this npm ERR! Cannot read property 'match' of undefined npm ERR! A complete log of this run can be found in: |
I'm having this same issue. Downgrading to sass-loader 7.1 worked for me. sass-loader: 8.0.2
|
Thank you it worked for me ! |
thanks really works |
sass-loader@7.1.0 was released on 2018-08-01 so downgrading that far can't be a good solution. |
what is the most recent solution? |
Description:
A heads up that Laravel mix doesn't seem to be compatible with sass-loader 8.0.0 (just released) which has some breaking changes.
Steps To Reproduce:
See build failure in danielbachhuber/simple-event-tracking#3
The text was updated successfully, but these errors were encountered: