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 fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.12: The platform "linux" is incompatible with this module.
info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation.
warning vscode-extension-backend@0.10.0: The engine "vscode" appears to be invalid.
warning vscode-extension-pack-kogito-kie-editors@0.10.0: The engine "vscode" appears to be invalid.
[3/4] Linking dependencies...
warning " > cypress-iframe@1.0.1" has unmet peer dependency "@types/cypress@^1.1.0".
warning "spectron > @electron/remote@1.1.0" has unmet peer dependency "electron@>= 10.0.0-beta.1".
warning " > vscode-uitests-tooling@2.0.2" has unmet peer dependency "vscode-extension-tester-native@^3.0.2".
warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has incorrect peer dependency "webpack@^4.0.0".
warning " > zip-webpack-plugin@4.0.1" has unmet peer dependency "webpack-sources@*".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms@3.0.0" has incorrect peer dependency "react@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/pmml-editor > react-sortable-hoc@2.0.0" 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 > uniforms@3.1.0" has incorrect peer dependency "react@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-patternfly > @patternfly/react-core@4.84.4" has incorrect peer dependency "react@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-patternfly > @patternfly/react-core@4.84.4" has incorrect peer dependency "react-dom@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-patternfly > @patternfly/react-icons@4.7.22" has incorrect peer dependency "react@^16.8.0".
warning "workspace-aggregator-d8f41121-9ecd-4854-b02d-3ff57bdeb942 > @kogito-tooling/form-renderer > uniforms-patternfly > @patternfly/react-icons@4.7.22" 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 node-pre-gyp@0.11.0
node-pre-gyp info using node@16.3.0 | 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 lzma-native@6.0.1 and node@16.3.0 (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 node-gyp@7.1.2
gyp info using node@16.3.0 | linux | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.2
gyp info using node@16.3.0 | 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