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 #352

Open
haydenkong opened this issue Jan 2, 2024 · 0 comments
Open

Error #352

haydenkong opened this issue Jan 2, 2024 · 0 comments

Comments

@haydenkong
Copy link

HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
yarn install && yarn run build
}
gitpod /workspace/vue-antd-admin (master) $ HISTFILE=/workspace/.gitpod/cmd-0 history -r; {

yarn install && yarn run build
}
yarn install v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: Invalid bin field for "compression-webpack-plugin".
warning [email protected]: Invalid bin field for "url-loader".
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "webpack@^4.3.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
[4/4] Building fresh packages...
Done in 227.12s.
yarn run v1.22.21
$ vue-cli-service build

⠹ Building for production...Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/workspace/vue-antd-admin/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:471:10)
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:503:5
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:358:12
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at runSyncOrAsync (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array. (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/workspace/vue-antd-admin/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:471:10)
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:503:5
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:358:12
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array. (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /workspace/vue-antd-admin/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.10.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
gitpod /workspace/vue-antd-admin (master) $ yarn run build
yarn run v1.22.21
$ vue-cli-service build

⠹ Building for production...Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/workspace/vue-antd-admin/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:471:10)
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:503:5
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:358:12
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at runSyncOrAsync (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array. (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
⠸ Building for production...node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/workspace/vue-antd-admin/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:471:10)
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:503:5
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:358:12
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array. (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /workspace/vue-antd-admin/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.10.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
gitpod /workspace/vue-antd-admin (master) $ npm install

removed 10 packages, changed 11 packages, and audited 1599 packages in 11s

54 packages are looking for funding
run npm fund for details

100 vulnerabilities (1 low, 27 moderate, 52 high, 20 critical)

To address issues that do not require attention, run:
npm audit fix

To address all issues possible (including breaking changes), run:
npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run npm audit for details.
npm notice
npm notice New patch version of npm available! 10.2.3 -> 10.2.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5
npm notice Run npm install -g [email protected] to update!
npm notice
gitpod /workspace/vue-antd-admin (master) $ npm run serve

[email protected] serve
vue-cli-service serve

INFO Starting development server...
10% building 2/5 modules 3 active .../node_modules/eslint-loader/index.js??ref--13-0!/workspace/vue-antd-admin/src/main.jsError: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/workspace/vue-antd-admin/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:471:10)
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:503:5
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:358:12
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at runSyncOrAsync (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array. (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/workspace/vue-antd-admin/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:471:10)
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:503:5
at /workspace/vue-antd-admin/node_modules/webpack/lib/NormalModule.js:358:12
at /workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array. (/workspace/vue-antd-admin/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /workspace/vue-antd-admin/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /workspace/vue-antd-admin/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant