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

Error: digital envelope routines::unsupported #91

Closed
selankon opened this issue Apr 19, 2023 · 2 comments
Closed

Error: digital envelope routines::unsupported #91

selankon opened this issue Apr 19, 2023 · 2 comments

Comments

@selankon
Copy link

Using this action I am getting the following error when running the preactjs/compressed-size-action@v2 step:

  Error: error:0308010C:digital envelope routines::unsupported

On my computer it builds everything propeperly with node v16.18.0.

On this job it failed.

https://github.com/libremesh/lime-app/actions/runs/4740204197/jobs/8415775391?pr=380

Any idea?

@rschristian
Copy link
Member

rschristian commented Apr 27, 2023

That's a Webpack v4 on Node 17+ issue, unrelated to this action.

See preactjs/preact-cli#1773 (comment)

Edit: Or you could ensure your CI runs on v16 too, if you don't want to add in the env var.

@selankon
Copy link
Author

Adding this action worked:

      - name: Install node
        uses: actions/setup-node@v3
        with:
            node-version: 16

Rather than specifying node version on checkout action. This didn't work:

      - uses: actions/checkout@v3
        with:
            node-version: '16'

selankon added a commit to selankon/lime-app that referenced this issue Apr 28, 2023
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

No branches or pull requests

2 participants