-
Notifications
You must be signed in to change notification settings - Fork 75
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 and deploy fails with Node 16.15 #6155
Comments
I fixed this in pandora by removing or replacing outdated dependencies: zooniverse/pandora#294 That might not be possible in PFE, which has a much larger dependency tree. |
#6154 is a temporary fix that pins Node to 16.13 for builds. |
I'm poking around to see if I can find any leads on this issue. Thoughts so far:
|
Investigation ProgressThese are mostly notes for myself so I don't get lost. Feel free to ignore this post. Part 1: Investigation processSo starting off, ensure we're on the correct baseline - delete node_modules, check we're on the latest master commit (e83dd4e), and check we're using node 16.15(.1 and npm 8.11.0). Then, run
Now, the debugging.
OK, so Repeating this process, I end up with:
OK, progress. Nothing can go wrong now. Part 2: Things go wrongWhoops.
Next action: update |
Investigation ProgressPart 3: Things go Un-WrongI have a PR that bumps I'll get that PR ready for review, and publish v2.10 once that's approved/merged, but in the meantime I'm keeping my "modal-form": "file:../modal-form" in this branch, so erm... sorry, Github Actions! You're going to have some headaches. Next up: package.json: [email protected] has [email protected] as a sub-dep, but we've defined package.json: [email protected] |
Investigation ProgressPart 4: (deflated charting noises)New updates:
TODO:
(Hmm I should move these TODOs to an official PR with my debug branch) Next up: |
Investigation ProcessPart 5: Translate, the first major headacheOK, going to need some help with this next one. Current error is...
Here's the problem:
I'll plonk this on the dev-frontend chat for further discussion. |
I’d suggest trying a build with the |
Closed by #6203. |
Expected behavior
Builds work with any version of Node 16.
Current behavior
Builds with Node 16.15 fail with unmatched peer dependency errors. It seems that Node 16.15.1/npm 8.11 is more strict about nested dependencies than previous versions.
Steps to replicate
The latest version that I can get to work is Node 16.14 with npm 8.5.
The text was updated successfully, but these errors were encountered: