Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant install using upstream Node version #8

Open
qrpike opened this issue May 18, 2016 · 0 comments
Open

Cant install using upstream Node version #8

qrpike opened this issue May 18, 2016 · 0 comments

Comments

@qrpike
Copy link

qrpike commented May 18, 2016

Errors installing:

Quintons-MacBook-Pro:statkit qrpike$ npm install neuraln
▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine [email protected]: wanted: {"node":"v0.10.x"} (current: {"node":"5.3.0","npm":"3.5.2"})

> [email protected] install /Users/qrpike/code/statkit/node_modules/neuraln
> node-gyp rebuild

  CXX(target) Release/obj.target/nn/lib/nn.o
In file included from ../lib/nn.cc:22:
../lib/nn.hh:38:19: error: expected class name
class NN : public ObjectWrap {
                  ^
../lib/nn.hh:143:34: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
  static Handle<Value> New(const Arguments& args);
                                 ^~~~~~~~~
                                 v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../lib/nn.cc:22:
../lib/nn.hh:144:42: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
  static Handle<Value> TrainSetAdd(const Arguments& args);
                                         ^~~~~~~~~
                                         v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../lib/nn.cc:22:
../lib/nn.hh:145:36: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
  static Handle<Value> Train(const Arguments& args);
                                   ^~~~~~~~~
                                   v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../lib/nn.cc:22:
../lib/nn.hh:146:38: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
  static Handle<Value> MTTrain(const Arguments& args);
                                     ^~~~~~~~~
                                     v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../lib/nn.cc:22:
../lib/nn.hh:147:34: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
  static Handle<Value> Run(const Arguments& args);
                                 ^~~~~~~~~
                                 v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../lib/nn.cc:22:
../lib/nn.hh:148:39: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
  static Handle<Value> ToString(const Arguments& args);
                                      ^~~~~~~~~
                                      v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../lib/nn.cc:22:
../lib/nn.hh:149:39: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
  static Handle<Value> GetState(const Arguments& args);
                                      ^~~~~~~~~
                                      v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../lib/nn.cc:22:
../lib/nn.hh:150:37: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
  static Handle<Value> SetLog(const Arguments& args);
                                    ^~~~~~~~~
                                    v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../lib/nn.cc:701:34: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
Handle<Value> NN::ToString(const Arguments& args) {
                                 ^~~~~~~~~
                                 v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../lib/nn.cc:702:15: error: calling a protected constructor of class 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:889:13: note: declared protected here
  V8_INLINE HandleScope() {}
            ^
../lib/nn.cc:705:12: error: use of undeclared identifier 'ObjectWrap'
  NN* nn = ObjectWrap::Unwrap<NN>(args.This());
           ^
../lib/nn.cc:705:31: error: 'NN' does not refer to a value
  NN* nn = ObjectWrap::Unwrap<NN>(args.This());
                              ^
../lib/nn.hh:38:7: note: declared here
class NN : public ObjectWrap {
      ^
../lib/nn.cc:705:39: error: member access into incomplete type 'const v8::internal::Arguments'
  NN* nn = ObjectWrap::Unwrap<NN>(args.This());
                                      ^
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
      ^
../lib/nn.cc:708:47: error: no member named 'New' in 'v8::String'
  v8::Handle<v8::String> result = v8::String::New(nn->to_string().c_str());
                                  ~~~~~~~~~~~~^
../lib/nn.cc:710:16: error: no member named 'Close' in 'v8::HandleScope'
  return scope.Close(result);
         ~~~~~ ^
../lib/nn.cc:716:34: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
Handle<Value> NN::GetState(const Arguments& args) {
                                 ^~~~~~~~~
                                 v8::internal::Arguments
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../lib/nn.cc:717:15: error: calling a protected constructor of class 'v8::HandleScope'
  HandleScope scope;
              ^
/Users/qrpike/.node-gyp/5.3.0/include/node/v8.h:889:13: note: declared protected here
  V8_INLINE HandleScope() {}
            ^
../lib/nn.cc:720:12: error: use of undeclared identifier 'ObjectWrap'
  NN* nn = ObjectWrap::Unwrap<NN>(args.This());
           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/nn/lib/nn.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant