Skip to content

解决digital envelope routines::unsupported问题 #35

Description

@bosombaby

更改package.json文件
"scripts": { "build": "webpack --config ./bundler/webpack.prod.js", "dev": "set NODE_OPTIONS=--openssl-legacy-provider && webpack-dev-server --config ./bundler/webpack.dev.js", "watch": "webpack --watch --config ./bundler/webpack.config.js" },

Activity

  1. fffmath commented on Apr 5, 2023

    @fffmath

    更改package.json文件 "scripts": { "build": "webpack --config ./bundler/webpack.prod.js", "dev": "set NODE_OPTIONS=--openssl-legacy-provider && webpack-dev-server --config ./bundler/webpack.dev.js", "watch": "webpack --watch --config ./bundler/webpack.config.js" },

    However, it still didn't work on my computer. I will appreciate it If someone could give me some advice.
    `ℹ 「wds」: Project is running at http://localhost:8080/
    ℹ 「wds」: webpack output is served from /
    ℹ 「wds」: Content not from webpack is served from ./dist
    node:internal/crypto/hash:71
    this[kHandle] = new _Hash(algorithm, xofLen);
    ^

    Error: error:0308010C:digital envelope routines::unsupportedand opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
    library: 'digital envelope routines',
    reason: 'unsupported',
    code: 'ERR_OSSL_EVP_UNSUPPORTED'
    }`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions