WIP: Fix site build #529

Closed
snedadah wants to merge 2 commits from shahanneda/fix-build-image-script into main
Owner

CSC Servers have their node version upgraded to node 18. This broke the optimize image script and next build.
Assuming we can't change the production node version (since we're not using docker, just running on bare servers), its best to upgrade our development enviroment also to node 18. This pr upgrades the drone node version to 18, and uses a workaround to get the images and nextjs working on node 18.

Follow up items:

CSC Servers have their node version upgraded to node 18. This broke the optimize image script and next build. Assuming we can't change the production node version (since we're not using docker, just running on bare servers), its best to upgrade our development enviroment also to node 18. This pr upgrades the drone node version to 18, and uses a workaround to get the images and nextjs working on node 18. Follow up items: - Change image compression script to not use squoosh (workaround for now added --no-experimental-fetch') - https://github.com/GoogleChromeLabs/squoosh/issues/1242 - Upgrade nextjs version (workaround for now: added --openssl-legacy-provider) https://github.com/webpack/webpack/issues/14532 https://stackoverflow.com/questions/69719601/getting-error-digital-envelope-routines-reason-unsupported-code-err-oss
snedadah added 2 commits 2 months ago
71af6a6e70 Fixed optimize image script to work on node 18
d77692fd9d Upraded node version to match csc servers
snedadah closed this pull request 2 months ago
All checks were successful
continuous-integration/drone/push Build is passing
Required
Details
Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: www/www-new#529
Loading…
There is no content yet.