You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a more recent version available? I can find 1.3.0 (3 years old) but I would need a more recent version to have #132 included (merged in 2019).
My attempt to build this project (using npm 6.13.7 and 6.14.4 on Linux, gcc version 7.5.0) failed:
npm install
...
CXX(target) Release/obj.target/magic/src/binding.o
../src/binding.cc:345:28: error: ‘Handle’ has not been declared
static void Initialize(Handle<Object> target) {
^~~~~~
../src/binding.cc:345:34: error: expected ‘,’ or ‘...’ before ‘<’ token
static void Initialize(Handle<Object> target) {
^
../src/binding.cc: In static member function‘static void Magic::New(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/binding.cc:83:45: error: no matching functionfor call to ‘v8::Value::Int32Value()’
magic_flags = args[1]->Int32Value();
^
In file included from /home/peter/.cache/node-gyp/12.3.1/include/node/node.h:63:0,
from ../src/binding.cc:1:
/home/peter/.cache/node-gyp/12.3.1/include/node/v8.h:2569:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/peter/.cache/node-gyp/12.3.1/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:91:51: error: no matching functionfor call to ‘v8::Value::ToString()’
String::Utf8Value str(args[0]->ToString());
^
....
Failed at the [email protected] install script
What are the build requirements? Maybe I need an older version of npm?
The text was updated successfully, but these errors were encountered:
Is there a more recent version available? I can find 1.3.0 (3 years old) but I would need a more recent version to have #132 included (merged in 2019).
My attempt to build this project (using npm 6.13.7 and 6.14.4 on Linux, gcc version 7.5.0) failed:
What are the build requirements? Maybe I need an older version of npm?
The text was updated successfully, but these errors were encountered: