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

warnings occuring during npm install in node version 8 #53

Open
deepakrkris opened this issue Jul 28, 2017 · 0 comments
Open

warnings occuring during npm install in node version 8 #53

deepakrkris opened this issue Jul 28, 2017 · 0 comments

Comments

@deepakrkris
Copy link

following warnings messages occur during npm install x509 for node version 8.1.2

  CXX(target) Release/obj.target/x509/src/addon.o
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:194:
../node_modules/nan/nan_maybe_43_inl.h:220:17: warning: 'CloneElementAt' is deprecated [-Wdeprecated-declarations]
  return array->CloneElementAt(GetCurrentContext(), index);
                ^
/Users/deepak/.node-gyp/8.1.2/include/node/v8.h:3341:36: note: 'CloneElementAt' has been explicitly marked deprecated here
                MaybeLocal<Object> CloneElementAt(Local<Context> context,
                                   ^
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:200:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:40:29: warning: 'New' is deprecated [-Wdeprecated-declarations]
  return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                            ^
/Users/deepak/.node-gyp/8.1.2/include/node/v8.h:4532:56: note: 'New' has been explicitly marked deprecated here
  V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                       ^
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
../node_modules/nan/nan.h:1963:15: warning: 'SetAccessor' is deprecated [-Wdeprecated-declarations]
  return obj->SetAccessor(
              ^
/Users/deepak/.node-gyp/8.1.2/include/node/v8.h:3021:22: note: 'SetAccessor' has been explicitly marked deprecated here
                bool SetAccessor(Local<Name> name,
                     ^
3 warnings generated.
  CXX(target) Release/obj.target/x509/src/x509.o
In file included from ../src/x509.cc:3:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:194:
../node_modules/nan/nan_maybe_43_inl.h:220:17: warning: 'CloneElementAt' is deprecated [-Wdeprecated-declarations]
  return array->CloneElementAt(GetCurrentContext(), index);
                ^
/Users/deepak/.node-gyp/8.1.2/include/node/v8.h:3341:36: note: 'CloneElementAt' has been explicitly marked deprecated here
                MaybeLocal<Object> CloneElementAt(Local<Context> context,
                                   ^
In file included from ../src/x509.cc:3:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:200:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:40:29: warning: 'New' is deprecated [-Wdeprecated-declarations]
  return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                            ^
/Users/deepak/.node-gyp/8.1.2/include/node/v8.h:4532:56: note: 'New' has been explicitly marked deprecated here
  V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                       ^
In file included from ../src/x509.cc:3:
In file included from ../include/x509.h:7:
../node_modules/nan/nan.h:1963:15: warning: 'SetAccessor' is deprecated [-Wdeprecated-declarations]
  return obj->SetAccessor(
              ^
/Users/deepak/.node-gyp/8.1.2/include/node/v8.h:3021:22: note: 'SetAccessor' has been explicitly marked deprecated here
                bool SetAccessor(Local<Name> name,
                     ^
../src/x509.cc:448:35: warning: 'CallAsConstructor' is deprecated [-Wdeprecated-declarations]
  return scope.Escape(DateObject->CallAsConstructor(1, args));
                                  ^
/Users/deepak/.node-gyp/8.1.2/include/node/v8.h:3306:30: note: 'CallAsConstructor' has been explicitly marked deprecated here
                Local<Value> CallAsConstructor(int argc, Local<Value> argv[]));
@deepakrkris deepakrkris changed the title warnings occurring during npm install in node version 8 warnings occuring during npm install in node version 8 Jul 28, 2017
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