question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build on nodejs 16.0.0

See original GitHub issue

Environment Information

  • OS ubuntu 20.04:
  • Node Version 16.0.0:
  • NPM Version 7.0.0:
  • C++ Toolchain g++:
  • node-rdkafka version 2.1.0:

Steps to Reproduce

Just install package

node-rdkafka Configuration Settings No context. Just can’t build it coz in nodejs 16 new ver of v8.

Additional context npm ERR! /home/resation/.cache/node-gyp/16.0.0/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’: npm ERR! /home/resation/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’? 2021-04-22T16_45_22_674Z-debug.log

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
lloiaconocommented, May 5, 2021

I have the same problem but on macOS Big Sur 11.3.1

  • Node v16.1.0
2reactions
bigclapcommented, Apr 22, 2021

I also tried to change the version of std = c ++ 11 to std = c ++ 14 in bindings.gyp, but unfortunately this prevented the project from building.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NPM install not working for Node V 16.0.0 - Stack Overflow
I am having trouble finding a solution to this. I am trying npm install for a project but I get a very large...
Read more >
Download & Update Node.js to the Latest Version! Node v19 ...
Direct download links to update to the latest Node.js versions: Node v19.0.0 / LTS v16.18.0.
Read more >
How to switch Node.js versions with NVM - LogRocket Blog
Learn about Node Version Manager (NVM), a Node.js version management tool that quickly installs and switches Node versions from the CLI.
Read more >
How to Easily Update Node.js to the Latest Version
Another way of updating your Node.js on macOS and Windows is to go to the official download site and install the most recent...
Read more >
Download - Node.js
Downloads. Latest Current Version: 19.3.0 (includes npm 9.2.0). Download the Node.js source code or a pre- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found