Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
-
---
-
---
Description
It is not possible to build ui-packages in https://github.com/kiegroup/kogito-apps using Nodejs 16 (LTS) version.
An error message shown in terminal:
@kogito-apps/trusty: /$PROJECT_HOME/kogito-apps/ui-packages/node_modules/loader-runner/lib/LoaderRunner.js:133 @kogito-apps/trusty: if(isError) throw e; @kogito-apps/trusty: ^ @kogito-apps/trusty: Error: error:0308010C:digital envelope routines::unsupported @kogito-apps/trusty: at new Hash (node:internal/crypto/hash:67:19) @kogito-apps/trusty: at Object.createHash (node:crypto:130:10) @kogito-apps/trusty: at module.exports ($PROJECT_HOME/kogito-apps/ui-packages/node_modules/webpack/lib/util/createHash.js:135:53) @kogito-apps/trusty: at NormalModule._initBuildHash ($PROJECT_HOME/kogito-apps/ui-packages/node_modules/webpack/lib/NormalModule.js:417:16) @kogito-apps/trusty: at handleParseError ($PROJECT_HOME/kogito-apps/ui-packages/node_modules/webpack/lib/NormalModule.js:471:10) @kogito-apps/trusty: at $PROJECT_HOME/kogito-apps/ui-packages/node_modules/webpack/lib/NormalModule.js:503:5 @kogito-apps/trusty: at $PROJECT_HOME/kogito-apps/ui-packages/node_modules/webpack/lib/NormalModule.js:358:12 @kogito-apps/trusty: at $PROJECT_HOME/kogito-apps/ui-packages/node_modules/loader-runner/lib/LoaderRunner.js:373:3 @kogito-apps/trusty: at iterateNormalLoaders ($PROJECT_HOME/kogito-apps/ui-packages/node_modules/loader-runner/lib/LoaderRunner.js:214:10) @kogito-apps/trusty: at iterateNormalLoaders ($PROJECT_HOME/kogito-apps/ui-packages/node_modules/loader-runner/lib/LoaderRunner.js:221:10) { @kogito-apps/trusty: opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], @kogito-apps/trusty: library: 'digital envelope routines', @kogito-apps/trusty: reason: 'unsupported', @kogito-apps/trusty: code: 'ERR_OSSL_EVP_UNSUPPORTED' @kogito-apps/trusty: } @kogito-apps/custom-dashboard-list: $ rimraf dist && tsc -m commonjs -p tsconfig.json && yarn run copy:css @kogito-apps/trusty: error Command failed with exit code 1. @kogito-apps/trusty: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. @kogito-apps/trusty: error Command failed with exit code 1. @kogito-apps/trusty: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. lerna ERR! yarn run build:prod exited 1 in '@kogito-apps/trusty' lerna WARN complete Waiting for 10 child processes to exit. CTRL-C to exit immediately. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Environment
Node: 16.16.0
Yarn: 1.22.17