kenperlin / chalktalk

MIT License
2.12k stars 137 forks source link

Massive failings when installing on Mac OS with Node 14.6.0 #55

Open edwios opened 3 years ago

edwios commented 3 years ago

Saw another issue mentioning about not being able to install on Node 12. Therefore upgraded to the latest Node 14.6.0 but still couldn't install.

Mac OS version: 10.15.5 NodeJS version: 14.6.0

The errors began with:

bufferutil@1.2.1 install /Volumes/TBack/Development/chalktalk/server/node_modules/bufferutil node-gyp rebuild

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o ../src/bufferutil.cc:25:30: error: no template named 'Handle' in namespace 'v8' static void Initialize(v8::Handle target)


../src/bufferutil.cc:33:86: error: too few arguments to function call, single
      argument 'context' was not specified
  ...Nan::New<String>("BufferUtil").ToLocalChecked(), t->GetFunction());
                                                      ~~~~~~~~~~~~~~ ^
/Users/soro/Library/Caches/node-gyp/14.6.0/include/node/v8.h:6475:3: note: 
      'GetFunction' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  ^
/Users/soro/Library/Caches/node-gyp/14.6.0/include/node/v8config.h:431:31: note: 
      expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
KTRosenberg commented 3 years ago

Did you try the v2.0 branch? That was really the most up-to-date. I won’t be able to look into this yet, but if you have leads, please feel free to post them.