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

Install/build error #4

Open
erjdriver opened this issue Aug 20, 2020 · 0 comments
Open

Install/build error #4

erjdriver opened this issue Aug 20, 2020 · 0 comments

Comments

@erjdriver
Copy link

I'd like to add this functionality to my app - built in Nativescript.

When I do npm install reset-date-cache - I get the following errors

> [email protected] install /Users/mini/Projects/canvas/node_modules/reset-date-cache
> node-gyp rebuild

  CXX(target) Release/obj.target/resetdatecache/src/binding.o
In file included from ../src/binding.cc:1:
In file included from ../node_modules/nan/nan.h:190:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: no member named 'ForceSet' in 'v8::Object'
  return obj->ForceSet(GetCurrentContext(), key, value, attribs);
         ~~~  ^
In file included from ../src/binding.cc:1:
In file included from ../node_modules/nan/nan.h:195:
In file included from ../node_modules/nan/nan_converters.h:59:
../node_modules/nan/nan_converters_43_inl.h:18:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use
      Local version. [-Wdeprecated-declarations]
X(Boolean)
^
../node_modules/nan/nan_converters_43_inl.h:15:15: note: expanded from macro 'X'
  return val->To ## TYPE(GetCurrentContext());                                 \
              ^
<scratch space>:11:1: note: expanded from here
ToBoolean
^
/Users/mini/Library/Caches/node-gyp/12.18.1/include/node/v8.h:2663:3: note: 'ToBoolean' has been explicitly marked
      deprecated here
  V8_DEPRECATED("ToBoolean can never throw. Use Local version.",
  ^
/Users/mini/Library/Caches/node-gyp/12.18.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../src/binding.cc:1:

[snipped]

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