rocketmq-client-nodejs icon indicating copy to clipboard operation
rocketmq-client-nodejs copied to clipboard

Can't compile with node12

Open LambChen opened this issue 6 years ago • 10 comments

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

  • Node Version: 12
  • SDK Version: latest
  • Platform: macos

LambChen avatar Jun 18 '19 10:06 LambChen

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

JustGreenHand avatar Aug 19 '19 08:08 JustGreenHand

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

yecao007 avatar Nov 12 '19 09:11 yecao007

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

highsea avatar Jan 07 '20 07:01 highsea

还维护吗?大佬们

phantomk avatar Jan 15 '20 06:01 phantomk

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

colagy avatar Apr 11 '20 12:04 colagy

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

danger49 avatar Nov 04 '20 09:11 danger49

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

agileago avatar Mar 20 '21 03:03 agileago

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

ifplusor avatar Mar 28 '21 04:03 ifplusor

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

tong3jie avatar Sep 30 '21 10:09 tong3jie

node ver >= 10.13.0

abel-oye avatar Dec 20 '21 14:12 abel-oye