Skip to content
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

Upgrade front-end build tools to Node 20.x #4535

Open
bryanpizzillo opened this issue Jan 8, 2025 · 1 comment
Open

Upgrade front-end build tools to Node 20.x #4535

bryanpizzillo opened this issue Jan 8, 2025 · 1 comment
Labels
change request Tooling Anything having to do with local development or CI/CD that is how the product gets made

Comments

@bryanpizzillo
Copy link
Member

Issue description

ESTIMATE TBD

We are using Node 16 which is old. I am sure that Node 20 will cause its own set of heartache. (Jest is probably going to be an issue. Maybe Typescript.)

@bryanpizzillo bryanpizzillo added change request Tooling Anything having to do with local development or CI/CD that is how the product gets made labels Jan 8, 2025
@bryanpizzillo
Copy link
Member Author

This needs #4445 in order to get past npm ci.

npm error Creating an optimized production build...
npm error Error: error:0308010C:digital envelope routines::unsupported
npm error     at new Hash (node:internal/crypto/hash:79:19)
npm error     at Object.createHash (node:crypto:139:10)
npm error     at module.exports (/var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/node_modules/webpack/lib/util/createHash.js:135:53)
npm error     at NormalModule._initBuildHash (/var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/node_modules/webpack/lib/NormalModule.js:417:16)
npm error     at handleParseError (/var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/node_modules/webpack/lib/NormalModule.js:471:10)
npm error     at /var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/node_modules/webpack/lib/NormalModule.js:503:5
npm error     at /var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/node_modules/webpack/lib/NormalModule.js:358:12
npm error     at /var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
npm error     at iterateNormalLoaders (/var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
npm error     at iterateNormalLoaders (/var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
npm error /var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/node_modules/@nciocpl/r4r-app/scripts/build.js:9
npm error   throw err;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change request Tooling Anything having to do with local development or CI/CD that is how the product gets made
Projects
None yet
Development

No branches or pull requests

1 participant