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

v8::ObjectTemplate::set() with non-primitive values is deprecated #152

Open
mearns opened this issue Oct 7, 2016 · 1 comment
Open

v8::ObjectTemplate::set() with non-primitive values is deprecated #152

mearns opened this issue Oct 7, 2016 · 1 comment

Comments

@mearns
Copy link

mearns commented Oct 7, 2016

I'm honestly not sure what the context for this is, I'm using the chef-api package and it's using ursa, and somewhere along the line, I get the following error (and several pages more) spit to my console:

==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: RsaWrap::InitClass(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
 6: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
 7: 0x1982b0d0961b
 8: 0x1982b108a7a4
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x26cec4ec9e59 <JS Object>#0#
    1: .node [module.js:568] [pc=0x1982b108a7a4] (this=0x1e86ffcb3a39 <an Object with map 0x13eae8f1a261>#1#,module=0x29feaf4fa671 <a Module with map 0x13eae8f1a839>#2#,filename=0x29feaf4fa5f1 <String[104]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/build/Release/ursaNative.node>)
    2: load [module.js:~449] [pc=0x1982b1071d56] (this=0x29feaf4fa671 <a Module with map 0x13eae8f1a839>#2#,filename=0x29feaf4fa5f1 <String[104]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/build/Release/ursaNative.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x1982b0e3529d] (this=0x26cec4e04189 <undefined>,module=0x29feaf4fa671 <a Module with map 0x13eae8f1a839>#2#,filename=0x29feaf4fa5f1 <String[104]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/build/Release/ursaNative.node>)
    4: _load [module.js:409] [pc=0x1982b0e30e82] (this=0x1e86ffcb3ab9 <JS Function Module (SharedFunctionInfo 0x1e86ffc2d231)>#3#,request=0x29feaf4f9ac9 <String[104]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/build/Release/ursaNative.node>,parent=0x29feaf4ea1a1 <a Module with map 0x13eae8f1a839>#4#,isMain=0x26cec4e04299 <false>)
    5: require [module.js:~465] [pc=0x1982b0eb8a6b] (this=0x29feaf4ea1a1 <a Module with map 0x13eae8f1a839>#4#,path=0x29feaf4f9ac9 <String[104]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/build/Release/ursaNative.node>)
    6: require(aka require) [internal/module.js:20] [pc=0x1982b0e3e646] (this=0x26cec4e04189 <undefined>,path=0x29feaf4f9ac9 <String[104]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/build/Release/ursaNative.node>)
    7: bindings [/Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/node_modules/bindings/bindings.js:76] [pc=0x1982b1088896] (this=0x26cec4ee1601 <JS Global Object>#5#,opts=0x113d1cf233d9 <String[10]: ursaNative>)
    8: /* anonymous */ [/Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/lib/ursa.js:18] [pc=0x1982b10870ac] (this=0x29feaf4ce081 <an Object with map 0x17738d107ac1>#6#,exports=0x29feaf4ce081 <an Object with map 0x17738d107ac1>#6#,require=0x29feaf4d9569 <JS Function require (SharedFunctionInfo 0x1e86ffc5bf31)>#7#,module=0x29feaf4ce031 <a Module with map 0x13eae8f1a839>#8#,__filename=0x29feaf4cdfc1 <String[86]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/lib/ursa.js>,__dirname=0x29feaf4d9501 <String[78]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/lib>)
    9: _compile [module.js:541] [pc=0x1982b0e3ddb0] (this=0x29feaf4ce031 <a Module with map 0x13eae8f1a839>#8#,content=0x29feaf4ced79 <Very long string[20653]>#9#,filename=0x29feaf4cdfc1 <String[86]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/lib/ursa.js>)
   10: .js [module.js:~548] [pc=0x1982b107f684] (this=0x1e86ffcb3a39 <an Object with map 0x13eae8f1a261>#1#,module=0x29feaf4ce031 <a Module with map 0x13eae8f1a839>#8#,filename=0x29feaf4cdfc1 <String[86]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/lib/ursa.js>)
   11: load [module.js:~449] [pc=0x1982b1071d56] (this=0x29feaf4ce031 <a Module with map 0x13eae8f1a839>#8#,filename=0x29feaf4cdfc1 <String[86]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/lib/ursa.js>)
   12: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x1982b0e3529d] (this=0x26cec4e04189 <undefined>,module=0x29feaf4ce031 <a Module with map 0x13eae8f1a839>#8#,filename=0x29feaf4cdfc1 <String[86]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/node_modules/ursa/lib/ursa.js>)
   13: _load [module.js:~383] [pc=0x1982b1042d21] (this=0x1e86ffcb3ab9 <JS Function Module (SharedFunctionInfo 0x1e86ffc2d231)>#3#,request=0x243c1f4c9f81 <String[4]: ursa>,parent=0x29feaf01d939 <a Module with map 0x13eae8f1a839>#10#,isMain=0x26cec4e04299 <false>)
   14: require [module.js:~465] [pc=0x1982b0eb8a6b] (this=0x29feaf01d939 <a Module with map 0x13eae8f1a839>#10#,path=0x243c1f4c9f81 <String[4]: ursa>)
   15: require(aka require) [internal/module.js:20] [pc=0x1982b0e3e646] (this=0x26cec4e04189 <undefined>,path=0x243c1f4c9f81 <String[4]: ursa>)
   16: /* anonymous */ [/Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations.js:7] [pc=0x1982b10409af] (this=0x29feaf01db39 <an Object with map 0x17738d107ac1>#11#,exports=0x29feaf01db39 <an Object with map 0x17738d107ac1>#11#,require=0x29feaf01d9c9 <JS Function require (SharedFunctionInfo 0x1e86ffc5bf31)>#12#,module=0x29feaf01d939 <a Module with map 0x13eae8f1a839>#10#,__filename=0x29feaf01dad9 <String[70]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations.js>,__dirname=0x29feaf01dab1 <String[56]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api>)
   17: _compile [module.js:541] [pc=0x1982b0e3ddb0] (this=0x29feaf01d939 <a Module with map 0x13eae8f1a839>#10#,content=0x29feaf01ec89 <Very long string[4249]>#13#,filename=0x29feaf01dad9 <String[70]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations.js>)
   18: .js [module.js:~548] [pc=0x1982b0e36d6b] (this=0x1e86ffcb3a39 <an Object with map 0x13eae8f1a261>#1#,module=0x29feaf01d939 <a Module with map 0x13eae8f1a839>#10#,filename=0x29feaf01dad9 <String[70]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations.js>)
   19: load [module.js:~449] [pc=0x1982b0e35772] (this=0x29feaf01d939 <a Module with map 0x13eae8f1a839>#10#,filename=0x29feaf01dad9 <String[70]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations.js>)
   20: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x1982b0e3529d] (this=0x26cec4e04189 <undefined>,module=0x29feaf01d939 <a Module with map 0x13eae8f1a839>#10#,filename=0x29feaf01dad9 <String[70]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations.js>)
   21: _load [module.js:409] [pc=0x1982b0e30e82] (this=0x1e86ffcb3ab9 <JS Function Module (SharedFunctionInfo 0x1e86ffc2d231)>#3#,request=0x29feaf01fdb1 <String[67]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations>,parent=0x29feaf01fd61 <a Module with map 0x13eae8f1a839>#14#,isMain=0x26cec4e04299 <false>)
   22: require [module.js:~465] [pc=0x1982b0eb8a6b] (this=0x29feaf01fd61 <a Module with map 0x13eae8f1a839>#14#,path=0x29feaf01fdb1 <String[67]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations>)
   23: require(aka require) [internal/module.js:20] [pc=0x1982b0e3e646] (this=0x26cec4e04189 <undefined>,path=0x29feaf01fdb1 <String[67]: /Users/bmearns/sandbox/1p/loftwing/node_modules/chef-api/operations>)

etc.

@Gopaljeepurwar
Copy link

facing same problem.
Any update on this?

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

2 participants