WIP: Fix site build
#529
Closed
snedadah
wants to merge 2 commits from shahanneda/fix-build-image-script
into main
pull from: shahanneda/fix-build-image-script
merge into: www:main
www:2022-07-08-MUA-Update
www:a258wang-events-2022-09-28
www:amy-add-alt-tab-f22
www:amy-add-librarian-f22
www:amy-events-august-2022
www:amy-events-karaoke
www:amy-fix-vp-f22
www:amy-image-optimization-quick-fix-experiment
www:amy-news-2022-09-14
www:amy-random-shapes
www:amy-update-annie-headshot-f22
www:amy-update-community-reps
www:amy-update-internship-repo-f22
www:annies/add-circles-event
www:anniesun/add-myself-to-webstite
www:b72zhou-past-exec
www:bonnie-team-member-card
www:darren/add-myself-to-website
www:darren/add-news
www:fix-oc-burger
www:j285he-add-news-09-07
www:j285he-ldap-test-example
www:jan-2023-constitution-changes
www:ldap-exec-test
www:main
www:neil-members
www:news-2022-09-08
www:news-2022-09-10
www:renovate/date-fns-tz-2.x
www:renovate/eslint-8.x
www:renovate/eslint-plugin-prettier-4.x
www:renovate/eslint-plugin-react-7.x
www:renovate/fs-extra-11.x
www:renovate/ldapts-4.x
www:renovate/mdx-js-loader-2.x
www:renovate/mdx-js-react-2.x
www:renovate/next-11.x
www:renovate/next-13.x
www:renovate/next-mdx-11.x
www:renovate/next-mdx-13.x
www:renovate/next-mdx-remote-3.x
www:renovate/node-18.x
www:renovate/node-19.x
www:renovate/npm-9.x
www:renovate/postcss-preset-env-8.x
www:renovate/react-18.x
www:renovate/react-dom-18.x
www:renovate/remark-14.x
www:renovate/remark-html-15.x
www:renovate/squoosh-lib-0.x
www:renovate/typescript-4.x
www:renovate/typescript-eslint-eslint-plugin-5.x
www:renovate/typescript-eslint-parser-5.x
www:shahanneda-news-11jan2022
www:shahanneda/add-alt-tab-news
www:shahanneda/add-bot
www:shahanneda/add-code-party-1
www:shahanneda/add-event
www:shahanneda/add-events
www:shahanneda/add-myself
www:shahanneda/fix-name-parts
www:shahanneda/optimze-image-script
www:shahanneda/update-exec-blurbs
www:shahanneda/update-project-program
www:support-multiple-news-homepage
www:unix101-1
www:update-events
www:warning-header
Reviewers
Request review
No reviewers
Labels
Apply labels
Clear labels
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
No Label
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Assign users
Clear assignees
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
Reference in new issue
There is no content yet.
Delete Branch 'shahanneda/fix-build-image-script'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
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:
https://github.com/webpack/webpack/issues/14532
https://stackoverflow.com/questions/69719601/getting-error-digital-envelope-routines-reason-unsupported-code-err-oss