Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Pass node options to yarn build #662

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

DavideSilva
Copy link
Member

Why:

How:

  • Adding NODE_OPTIONS=--openssl-legacy-provider to the yarn build
    command in bin/build script

Why:
* Node version 18 no longer supports MD4 as a hashing algorithm
* Trying to build the project results in a `ERR_OSSL_EVP_UNSUPPORTED`
  error
* https://nodejs.org/api/cli.html#--openssl-legacy-provider
* https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported

How:
* Adding `NODE_OPTIONS=--openssl-legacy-provider` to the `yarn build`
  command in `bin/build` script
@DavideSilva DavideSilva temporarily deployed to finiam-phx-starter-pr-662 July 18, 2022 14:33 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant