RockefellerArchiveCenter / styles

Style Library for the Rockefeller Archive Center
https://styles.rockarch.org
MIT License
0 stars 1 forks source link

Debug Travis build #127

Closed HaSistrunk closed 1 year ago

HaSistrunk commented 1 year ago

The Travis build was failing because versions of Node > 17 started supporting OpenSSL version 3, but Webpack 4 (used by Storybook) uses the MD4 algorithm to create file hashes and MD4 is not enabled in OpenSSL version 3. The options to fix this appear to be:

  1. Update Storybook to use Webpack 5
  2. Upgrade Storybook to version 7 (but v.7 was JUST released and is still in beta, so I recommend we wait, particularly because it will require a few other changes to our Storybook implementation).
  3. Add NODE_OPTIONS=--openssl-legacy-provider to the storybook and storybook-build scripts in package.json as discussed in this GitHub issue, which I have done here as a temporary fix before we move to Storybook 7.