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 2022-11-27 13:30:09 -05:00
continuous-integration/drone/push Build is failing Details
71af6a6e70
Fixed optimize image script to work on node 18
continuous-integration/drone/push Build is passing Details
d77692fd9d
Upraded node version to match csc servers
snedadah closed this pull request 2022-11-27 14:54:38 -05:00
All checks were successful
continuous-integration/drone/push Build is passing
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: www/www-new#529
No description provided.