-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
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
Error Make failed with exit code 2, Node 13 #733
Comments
[email protected] is a very old version, it will never build. Your best bet is using Node.js v12 and [email protected] - it's unlikely it will build on Node.js v13, but feel free to try. If it doesn't help, you'll need to submit a pull request to add Node.js v13 compatibility, or wait for someone else does. |
Hi everyone, we experience similar issue as well. Environment Information Steps to Reproduce Logs
|
@ntkumar1 yes, like I said, Node.js v13 is not supported at this time. Downgrade to Node.js v12, or migrate to Kafkajs instead. |
@analytik Is there a plan for supporting Node V13. Would be great to know timelines. There are some security vulnerabilities that are fixed in Node 13.8.0 onward which we would like adopt. |
Environment Information
Steps to Reproduce
I am trying install [email protected] on my project and every time it breaks with 'Error Make failed with exit code 2.' I already have openssl installed via brew and I added the LDFLAGS and CPPFLAGS to my bash profile already but I still am generating this. Anyone have this same issue and was able to solve it?
node-rdkafka Configuration Settings
Additional context
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/Cellar/node/13.2.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/cn193394/Click/click-taskvalidator/node_modules/node-rdkafka
gyp ERR! node -v v13.2.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
The text was updated successfully, but these errors were encountered: