You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
I'm trying to follow this tutorial for building the front end, but I get the errors described in the Logs below.
I've already tried running with yarn build:no-hash, downgrading my node version, updating the browserlist, using npm instead of yarn, and it's still the same problem with the first two solutions and different problems with the last two.
I'd love to know if there's a version of the LSF that I can build with no problems, because I'd rather use something that already works even if it's a little old because I'm short on time.
Logs:
➜ label-studio-frontend git:(v1.4.0) ✗ yarn build:module
yarn run v1.22.19
$ BUILD_MODULE=true npm run build:no-hash
[email protected] build:no-hash
BUILD_NO_HASH=true BUILD_NO_CHUNKS=true npm run build
Working directory set as /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/build
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/util/createHash.js:46:50)
at OriginalSource.updateHash (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/node_modules/webpack-sources/lib/OriginalSource.js:104:8)
at NormalModule._initBuildHash (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:868:17)
at handleParseResult (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:934:10)
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:1026:4
at processResult (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:743:11)
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:807:5
node:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.digest (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/util/createHash.js:80:21)
at NormalModule._initBuildHash (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:872:53)
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:912:10
at processResult (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:708:12)
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:807:5
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/loader-runner/lib/LoaderRunner.js:399:11
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/loader-runner/lib/LoaderRunner.js:251:18 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.17.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to follow this tutorial for building the front end, but I get the errors described in the Logs below.
I've already tried running with
yarn build:no-hash
, downgrading my node version, updating the browserlist, using npm instead of yarn, and it's still the same problem with the first two solutions and different problems with the last two.I'd love to know if there's a version of the LSF that I can build with no problems, because I'd rather use something that already works even if it's a little old because I'm short on time.
Logs:
➜ label-studio-frontend git:(v1.4.0) ✗ yarn build:module
yarn run v1.22.19
$ BUILD_MODULE=true npm run build:no-hash
Working directory set as /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/build
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/util/createHash.js:46:50)
at OriginalSource.updateHash (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/node_modules/webpack-sources/lib/OriginalSource.js:104:8)
at NormalModule._initBuildHash (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:868:17)
at handleParseResult (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:934:10)
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:1026:4
at processResult (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:743:11)
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:807:5
node:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.digest (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/util/createHash.js:80:21)
at NormalModule._initBuildHash (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:872:53)
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:912:10
at processResult (/mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:708:12)
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/webpack/lib/NormalModule.js:807:5
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/loader-runner/lib/LoaderRunner.js:399:11
at /mnt/c/Users/U361220/Documents/GitHub/label-studio-frontend/node_modules/loader-runner/lib/LoaderRunner.js:251:18 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.17.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: