apache / rocketmq-client-nodejs

Apache RocketMQ nodejs client
https://rocketmq.apache.org/
Apache License 2.0
188 stars 83 forks source link

Can't compile with node12 #12

Open LambChen opened 5 years ago

LambChen commented 5 years ago

What Happens?

CXX(target) Release/obj.target/rocketmq/src/rocketmq.o
../src/rocketmq.cpp:42:116: error: too few arguments to function call, single argument 'context' was not specified
Nan::Set(target, Nan::New("macosDLOpen").ToLocalChecked(), Nan::New<v8::FunctionTemplate>(DLOpen)->GetFunction());

image

Minimum Showcase (Required)

npm install --save apache-rocketmq with node v12

Context

JustGreenHand commented 5 years ago

你好,我也碰到这个问题,请问你解决了吗

yecao007 commented 4 years ago

我也是这个问题,不知道官方真的不维护了吗?

highsea commented 4 years ago

nodejs version changed to 10 or 11; I use alpine:

FROM node:10.18.0-alpine3.11
.....
# node-gpy env
RUN apk add --no-cache make gcc g++ python
phantomk commented 4 years ago

还维护吗?大佬们

colagy commented 4 years ago

我也是这个问题 怎么搞 rocketMQ挺好喜欢的 但是node-sdk怎么是这样的

danger49 commented 4 years ago

我也是这个问题 大家都解决了没?不维护了?

agileago commented 3 years ago

同问,用的最新的nodejs,无法接入rocketmq

ifplusor commented 3 years ago

An N-API version is available in n-api branch, which supports macOS and Linux.

tong3jie commented 3 years ago

kafka吧,这个项目估计又要烂尾

abel-oye commented 2 years ago

node ver >= 10.13.0