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

Hotfix - update angular & add OpenSSL legacy provider to workflow #1

Merged
merged 6 commits into from
Apr 6, 2024

Conversation

Andreas61129
Copy link
Contributor

@Andreas61129 Andreas61129 commented Apr 6, 2024

To solve the original problem (https://stackoverflow.com/questions/66028314/error-node-modules-callback-was-already-called) Angular was updated from 9.1.1 to 10.2.5.
The update lead under the used github-hosted runner ubuntu-latest, which used Node.js Version 18.20.0 to another problem (https://kinsta.com/de/wissensdatenbank/err_ossl_evp_unsupported/), which has been solved by declaring the environment variable in the workflow main.yml file according to actions/setup-node#356.

Please keep in mind to set the environment variable according to your os:
Windows: set NODE_OPTIONS=--openssl-legacy-provider
Linux / Mac: export NODE_OPTIONS=--openssl-legacy-provider

Update @angular/cli  from version 9.1.15 to 10.2.4  and @angular/core from 9.1.13 to 10.2.5
Updated codelyzer from 5.1.2 to 6.0.2
Update jasmine-core from 3.5.0 to 5.1.2
Adjust environment variable NODE_OPTIONS for linux.

Otherwise the main.yml file has to be changed according to actions/setup-node#356.
Add NODE_OPTIONS according to actions/setup-node#356 for the specific step of the workflow.
@Andreas61129 Andreas61129 merged commit a4fa489 into master Apr 6, 2024
1 check passed
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.

None yet

1 participant