-
-
Notifications
You must be signed in to change notification settings - Fork 98
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 Failure on Netlify with new elm-pages project #357
Comments
Hello @EvanPiro, there's a thread here where we finally realized what was happening there: https://discourse.elm-lang.org/t/problem-building-dependencies-error-in-pipeline-solved/8755 The issue occurs intermittently when the Elm compiler is running multiple instances in parallel. I have a fix for this in the v3 beta, which will be going to a release candidate shortly. It might also make sense to do a hotfix for this issue in the v2 branch to avoid this problem before v3 is stable and while people migrate to v3. |
If you do a clear cache and rerun build in Netlify it can sometimes resolve this issue. It can take a few tries, though. I believe that once a good cache is present the issue doesn't get triggered again with that set of dependencies because the issue comes from a race condition when multiple instances of the Elm compiler are trying to install the same dependency at the same time. |
@dillonkearns 4th try did the trick. |
I'm receiving the following error when I run a deployment via netlify on a clean elm-pages project. It does work on my local (
x86_64-darwin
). I'm digging into this but I wanted to post this issue in case there's an obvious fix to someone more familiar with netlify.The text was updated successfully, but these errors were encountered: