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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parcel Build Fails on Heroku due to node-sass #2572
Comments
Hey there! 馃憢 We had a very similar problem with our project. After a ton of research and debugging, we found that it was related to this issue: #1836 -- in short, when multiple SCSS files import the same file in parallel (e.g. another SCSS file containing shared variables), Parcel will hang indefinitely on Heroku after a certain threshold number of imports. For us, it was on the 8th import. The solution was to replace Unfortunately, there's only a small note about this in the docs. Since I see this come up again and again (e.g. #2430) I think it might be a worthwhile suggestion to the Parcel maintainers to include a deprecation notice for Hope that helps! |
@louh Thanks a ton man! That sucks to hear, but sounds about right! I've now even hit a point where building locally doesn't work either. So is there any way to use sass modules? Or are we completely SOL. |
You can still use sass modules with the |
Perfect! |
馃悰 bug report
Parcel build errors out with the following error when building:
After updating the heroku env variable to PARCEL_WORKERS=1, build hangs indefinitely.
馃帥 Configuration (.babelrc, package.json, cli command)
馃 Expected Behavior
It should build.
馃槸 Current Behavior
It doesn't build
馃拋 Possible Solution
It seems to have occurred once my sass modules gained sufficient size. Trying to figure out exactly what it is in the meantime.
馃捇 Code Sample
馃實 Your Environment
Heroku Free Tier
The text was updated successfully, but these errors were encountered: