Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mareknovotny/1dbd0d8ac750c49e40a53d937acbb355 to your computer and use it in GitHub Desktop.
Save mareknovotny/1dbd0d8ac750c49e40a53d937acbb355 to your computer and use it in GitHub Desktop.
kogito-tooling build error
(master) yarn bootstrap
yarn run v1.22.5
$ lerna bootstrap
lerna notice cli v4.0.0
lerna info bootstrap root only
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "@types/cypress@^1.1.0".
warning "spectron > @electron/[email protected]" has unmet peer dependency "electron@>= 10.0.0-beta.1".
warning " > [email protected]" has unmet peer dependency "vscode-extension-tester-native@^3.0.2".
warning "webpack-dev-server > [email protected]" has incorrect peer dependency "webpack@^4.0.0".
warning " > [email protected]" has unmet peer dependency "webpack-sources@*".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > [email protected]" has incorrect peer dependency "react@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/pmml-editor > [email protected]" has unmet peer dependency "prop-types@^15.5.7".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-bridge-json-schema > [email protected]" has incorrect peer dependency "react@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-patternfly > @patternfly/[email protected]" has incorrect peer dependency "react@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-patternfly > @patternfly/[email protected]" has incorrect peer dependency "react-dom@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-patternfly > @patternfly/[email protected]" has incorrect peer dependency "react@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-patternfly > @patternfly/[email protected]" has incorrect peer dependency "react-dom@^16.8.0".
[4/4] Building fresh packages...
[-/10] ⠠ waiting...
[9/10] ⠠ electron
[6/10] ⠠ lzma-native
[-/10] ⠠ waiting...
error /home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build && rimraf build
Arguments:
Directory: /home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | linux | x64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for "/home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native/binding-v6.0.1-n-api-linux-x64/lzma_native.node" (not found)
node-pre-gyp http GET https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v6.0.1-n-api-linux-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error unable to get local issuer certificate
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.9.5 found at "/usr/bin/python3"
gyp http GET https://nodejs.org/download/release/v16.3.0/node-v16.3.0-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: unable to get local issuer certificate
gyp ERR! stack at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)
gyp ERR! stack at TLSSocket.emit (node:events:394:28)
gyp ERR! stack at TLSSocket._finishInit (node:_tls_wrap:944:8)
gyp ERR! stack at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12)
gyp ERR! System Linux 5.11.0-18-generic
gyp ERR! command "/home/mnovotny/.nvm/versions/node/v16.3.0/bin/node" "/home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native/binding-v6.0.1-n-api-linux-x64/lzma_native.node" "--module_name=lzma_native" "--module_path=/home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native/binding-v6.0.1-n-api-linux-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
gyp ERR! cwd /home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native
gyp ERR! node -v v16.3.0
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/mnovotny/.nvm/versions/node/v16.3.0/bin/node /home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native/binding-v6.0.1-n-api-linux-x64/lzma_native.node --module_name=lzma_native --module_path=/home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native/binding-v6.0.1-n-api-linux-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (node:events:394:28)
node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
node-pre-gyp ERR! System Linux 5.11.0-18-generic
node-pre-gyp ERR! command "/home/mnovotny/.nvm/versions/node/v16.3.0/bin/node" "/home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/lzma-native
node-pre-gyp ERR! node -v v16.3.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/home/mnovotny/.nvm/versions/node/v16.3.0/bin/node /home/mnovotny/projects/git/KOGITO/kogito-tooling/node_modules/node-gyp/bin/node-gyp.js configure
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 1 in 'kogito-tooling'
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 1 in 'kogito-tooling'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment