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

[IRON-28652] workaround for openssl bug with nwb + webpack 4 #85

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

agillaspie
Copy link
Contributor

@agillaspie agillaspie commented Dec 11, 2023

IRON-28652

Description

nwb (which is responsible for the build process) installs + relies on [email protected] ... that version of webpack has an OpenSSL issue on Node.js 18.x+

We can't just override to a newer version of webpack without breaking nwb, so we just have to pass the flag NODE_OPTIONS=--openssl-legacy-provider to the build commands in package.json until nwb upgrades to [email protected]+.

Manual Testing

  • Confirmed that ./node_modules/.bin/np --preview --any-branch (aka npm run release) runs successfully... as a dry run obviously
  • Confirmed that npm run build runs successfully with the flag set

@agillaspie agillaspie self-assigned this Dec 11, 2023
@agillaspie agillaspie requested a review from mewelling December 11, 2023 18:40
Copy link
Contributor

@mewelling mewelling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! We should sync with tyler to decide if we want to release this this month or wait until Jan

@agillaspie agillaspie merged commit 1f14c27 into main Dec 11, 2023
1 check passed
@agillaspie agillaspie deleted the agillaspie/IRON-28652 branch December 11, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants