Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Build errors #484

Open
Open
Labels
need/triageNeeds initial labeling and prioritization
@2color

Description

@2color

In recent PRs we got the follwing error:

12:53:21 PM 10/27/2022: ^12:53:21 PM 10/27/2022: Error: error:0308010C:digital envelope routines::unsupported12:53:21 PM 10/27/2022: at new Hash (node:internal/crypto/hash:71:19)12:53:21 PM 10/27/2022: at Object.createHash (node:crypto:133:10)12:53:21 PM 10/27/2022: at module.exports (/workspace/node_modules/webpack/lib/util/createHash.js:135:53)12:53:21 PM 10/27/2022: at NormalModule._initBuildHash (/workspace/node_modules/webpack/lib/NormalModule.js:417:16)12:53:21 PM 10/27/2022: at handleParseError (/workspace/node_modules/webpack/lib/NormalModule.js:471:10)12:53:21 PM 10/27/2022: at /workspace/node_modules/webpack/lib/NormalModule.js:503:512:53:21 PM 10/27/2022: at /workspace/node_modules/webpack/lib/NormalModule.js:358:1212:53:21 PM 10/27/2022: at /workspace/node_modules/loader-runner/lib/LoaderRunner.js:373:312:53:21 PM 10/27/2022: at iterateNormalLoaders (/workspace/node_modules/loader-runner/lib/LoaderRunner.js:214:10)12:53:21 PM 10/27/2022: at iterateNormalLoaders (/workspace/node_modules/loader-runner/lib/LoaderRunner.js:221:10)12:53:21 PM 10/27/2022: at /workspace/node_modules/loader-runner/lib/LoaderRunner.js:236:312:53:21 PM 10/27/2022: at context.callback (/workspace/node_modules/loader-runner/lib/LoaderRunner.js:111:13)12:53:21 PM 10/27/2022: at /workspace/node_modules/cache-loader/dist/index.js:134:712:53:21 PM 10/27/2022: at /workspace/node_modules/graceful-fs/graceful-fs.js:61:1412:53:21 PM 10/27/2022: at FSReqCallback.oncomplete (node:fs:197:23) {12:53:21 PM 10/27/2022: opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],12:53:21 PM 10/27/2022: library: 'digital envelope routines',12:53:21 PM 10/27/2022: reason: 'unsupported',12:53:21 PM 10/27/2022: code: 'ERR_OSSL_EVP_UNSUPPORTED'12:53:21 PM 10/27/2022: }12:53:21 PM 10/27/2022: Node.js v18.12.012:53:45 PM 10/27/2022: Error occured during the build.

I haven't been able to find the exact root cause, but since we were using thenode:lts Docker build image, this error may stem from a recent version bump of node.

This likely stems from Webpack using a specific hash function that is linked to OpenSSL.

I was able to resolve this by adding the following ENV var to the build:

NODE_OPTIONS=--openssl-legacy-provider

We should investigate how to better resolve this. Perhaps it's from some outdated dependencies in this repo that are using an old version of Webpack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp