-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi,
I am getting these errors after downloading the package using npm. The errors on in builderror.log file
In file included from ../lib/main.cc:6:
../lib/flocon.h:9:29: error: expected class name
class Flocon : public node::ObjectWrap {
^
../lib/flocon.h:17:44: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handlev8::Value New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/bardiakhosravi/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../lib/main.cc:6:
../lib/flocon.h:18:45: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handlev8::Value Snow(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/bardiakhosravi/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
3 errors generated.
make: *** [Release/obj.target/flocon/lib/main.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/bardiakhosravi/Projects/tvacademy-backend/node_modules/flocon
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
Help is appreciated.
Thanks