-
Notifications
You must be signed in to change notification settings - Fork 76
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
Build fails with latest versions of sass and node-sass in conjuction with sass-loader #645
Comments
Would you provide a reproduction? 🙏 I think it's likely this is to do wtih your dependencies rather than this builder. |
Sure, I'll do my best to get this shortly. Perhaps... I've certainly isolated it so that the issue only happens when sass version is updated to >=1.45 and my local build works still. For completeness and so I can refer back too, this is the full error log.
|
By the way, this is the full application with the issue, I'll work on a minimal repro as soon as I'm able, but just in case there is something in the package.json that stands out as an issue in the Thanks |
Locally, I can build my Nuxt application with issues. However, I updated dependencies which resulted in sass upgrading from 1.44 to 1.45. This caused an issue in the build.
I tried installing node-sass instead of sass and the same issue happened. I isolated the problem by reverting sass to 1.44. 1.45 was released 10 days ago.
I'm not sure which version of node-sass I would need to use to prevent this issue.
As the problem does not happen when I build locally, I wonder if the issue is with the Vercel builder? In my config I also tried updating to use Node 14.x instead of 12.x (and have kept that change now as it matches my local version in dev).
I'm sorry if the issue does not relate to the builder, but I'm unsure why I couldn't replicate this issue outside of the Vercel build.
The text was updated successfully, but these errors were encountered: