camunda-community-hub / zeebe-client-node-js

Node.js client library for Zeebe Microservices Orchestration Engine
https://camunda-community-hub.github.io/zeebe-client-node-js/
Apache License 2.0
152 stars 38 forks source link

Does not install with Node 17 #247

Closed jwulf closed 2 years ago

jwulf commented 2 years ago

The grpc-c library does not rebuild with Node 17.

jwulf commented 2 years ago

On Node 17 with npm@8, the error I get is:

npm ERR! /Users/sitapati/Library/Caches/node-gyp/17.2.0/include/node/openssl/macros.h:155:4: error: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
npm ERR! #  error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
npm ERR!    ^

Downgrading to npm@6 does not work around this....

jwulf commented 2 years ago
Node version npm version Outcome
14.15.4 6.14.10 Installs binary from remote
15.8.0 6.4.15 Builds from source
16.13.1 8.1.2 Installs binary from remote
17.2.0 8.3.0 error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
17.2.0 6.14.15 error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
jwulf commented 2 years ago

It seems to be this issue: https://github.com/nodejs/node/issues/40575

Odd-numbered Node releases are experimental. Only even-numbered releases become supported releases, so please use the Zeebe Node client with even-numbered releases only.