We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to install node-rdkafka 3.1.0 on my Mac. And I get an error:
npm error ./rdkafka_op.h:696:25: error: unknown type name 'rd_kafka_broker_t' npm error rd_kafka_broker_t *rkb; npm error ^ npm error rdkafka.c:5188:47: warning: cast from 'unsigned char *' to 'uint64_t *' (aka 'unsigned long long *') increases required alignment from 1 to 8 [-Wcast-align] npm error uint64_t *rand_values_uint64 = (uint64_t *)rand_values_bytes; npm error ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm error 1 warning and 1 error generated. npm error make[2]: *** [rdkafka.o] Error 1 npm error make[1]: *** [libs] Error 2 npm error make: *** [11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate] Error 2 npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2 npm error gyp ERR! stack at ChildProcess.<anonymous> (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23) npm error gyp ERR! System Darwin 23.6.0 npm error gyp ERR! command "/usr/local/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
what's wrong and how can I fix this?
The text was updated successfully, but these errors were encountered:
Update librdkafka to 2.5.3 fixes Blizzard#1093
4b67bcd
42ea8af
Successfully merging a pull request may close this issue.
I am trying to install node-rdkafka 3.1.0 on my Mac. And I get an error:
what's wrong and how can I fix this?
The text was updated successfully, but these errors were encountered: