Clone a copy of the repository if you don't have it
Run npm install
Expected behavior:
Compile successfully
Actual behavior:
The following errors are thrown
void Init(Handle<Object> exports, Handle<Object> module) {
^
../src/binding.cc:13:11: error: use of undeclared identifier 'Handle'
void Init(Handle<Object> exports, Handle<Object> module) {
^
../src/binding.cc:13:18: error: 'Object' does not refer to a value
void Init(Handle<Object> exports, Handle<Object> module) {
^
/Users/musaibrahim/.atom/.node-gyp/.node-gyp/5.0.12/include/node/v8.h:3257:17: note: declared here
class V8_EXPORT Object : public Value {
^
../src/binding.cc:13:26: error: use of undeclared identifier 'exports'
void Init(Handle<Object> exports, Handle<Object> module) {
^
../src/binding.cc:13:35: error: use of undeclared identifier 'Handle'
void Init(Handle<Object> exports, Handle<Object> module) {
^
../src/binding.cc:13:42: error: 'Object' does not refer to a value
void Init(Handle<Object> exports, Handle<Object> module) {
^
/Users/musaibrahim/.atom/.node-gyp/.node-gyp/5.0.12/include/node/v8.h:3257:17: note: declared here
class V8_EXPORT Object : public Value {
^
../src/binding.cc:13:50: error: use of undeclared identifier 'module'
void Init(Handle<Object> exports, Handle<Object> module) {
^
../src/binding.cc:13:57: error: expected ';' after top level declarator
void Init(Handle<Object> exports, Handle<Object> module) {
^
;
Description
Fails to compile on node 12
Steps to Reproduce
Expected behavior: Compile successfully Actual behavior: The following errors are thrown
Reproduces how often:
100%