Unable to use the Node.js SDK with Node v6.0


#1

I have just updated to Node.js v6.0 on my Mac 10.11.4 X64 machine.
When trying to run an application that is using couchbase,
I get the following stack trace message (i didn’t include all the trace because it contains a lot of errors and it’s very long, this is just a sample) :

(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: 0x11e92d7c9fa9 <JS Object>#0#
    1: .node [module.js:568] [pc=0x252b963be0e4] (this=0x1eac7dedde51 <an Object with map 0x2ab788617be1>#1#,module=0x193c4c59cfe1 <a Module with map 0x2ab7886181b9>#2#,filename=0x193c4c59cfa9 <String[110]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/build/Release/couchbase_impl.node>)
    2: load [module.js:456] [pc=0x252b96138e72] (this=0x193c4c59cfe1 <a Module with map 0x2ab7886181b9>#2#,filename=0x193c4c59cfa9 <String[110]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/build/Release/couchbase_impl.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x252b9613899d] (this=0x11e92d704189 <undefined>,module=0x193c4c59cfe1 <a Module with map 0x2ab7886181b9>#2#,filename=0x193c4c59cfa9 <String[110]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/build/Release/couchbase_impl.node>)
    4: _load [module.js:407] [pc=0x252b961345e2] (this=0x1eac7dedded1 <JS Function Module (SharedFunctionInfo 0x1eac7de286b9)>#3#,request=0x193c4c59bf51 <String[110]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/build/Release/couchbase_impl.node>,parent=0x193c4c58b589 <a Module with map 0x2ab7886181b9>#4#,isMain=0x11e92d704299 <false>)
    5: require [module.js:~463] [pc=0x252b961a33eb] (this=0x193c4c58b589 <a Module with map 0x2ab7886181b9>#4#,path=0x193c4c59bf51 <String[110]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/build/Release/couchbase_impl.node>)
    6: require(aka require) [internal/module.js:20] [pc=0x252b961428a6] (this=0x11e92d704189 <undefined>,path=0x193c4c59bf51 <String[110]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/build/Release/couchbase_impl.node>)
    7: bindings [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/bindings/bindings.js:76] [pc=0x252b963bc716] (this=0x11e92d7e99f1 <JS Global Object>#5#,opts=0x2e5357c7c459 <String[14]: couchbase_impl>)
    8: /* anonymous */ [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/binding.js:138] [pc=0x252b963bb5d8] (this=0x193c4c5822d9 <an Object with map 0x31e035407bc9>#6#,exports=0x193c4c5822d9 <an Object with map 0x31e035407bc9>#6#,require=0x193c4c586869 <JS Function require (SharedFunctionInfo 0x1eac7de595c9)>#7#,module=0x193c4c582289 <a Module with map 0x2ab7886181b9>#8#,__filename=0x193c4c582251 <String[91]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/binding.js>,__dirname=0x193c4c586801 <String[80]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib>)
    9: _compile [module.js:541] [pc=0x252b96141944] (this=0x193c4c582289 <a Module with map 0x2ab7886181b9>#8#,content=0x193c4c5830c9 <Very long string[6663]>#9#,filename=0x193c4c582251 <String[91]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/binding.js>)
   10: .js [module.js:550] [pc=0x252b9613a46b] (this=0x1eac7dedde51 <an Object with map 0x2ab788617be1>#1#,module=0x193c4c582289 <a Module with map 0x2ab7886181b9>#8#,filename=0x193c4c582251 <String[91]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/binding.js>)
   11: load [module.js:456] [pc=0x252b96138e72] (this=0x193c4c582289 <a Module with map 0x2ab7886181b9>#8#,filename=0x193c4c582251 <String[91]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/binding.js>)
   12: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x252b9613899d] (this=0x11e92d704189 <undefined>,module=0x193c4c582289 <a Module with map 0x2ab7886181b9>#8#,filename=0x193c4c582251 <String[91]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/binding.js>)
   13: _load [module.js:407] [pc=0x252b961345e2] (this=0x1eac7dedded1 <JS Function Module (SharedFunctionInfo 0x1eac7de286b9)>#3#,request=0x2e5357c7bae1 <String[9]: ./binding>,parent=0x193c4c57f7c9 <a Module with map 0x2ab7886181b9>#10#,isMain=0x11e92d704299 <false>)
   14: require [module.js:~463] [pc=0x252b961a33eb] (this=0x193c4c57f7c9 <a Module with map 0x2ab7886181b9>#10#,path=0x2e5357c7bae1 <String[9]: ./binding>)
   15: require(aka require) [internal/module.js:20] [pc=0x252b961428a6] (this=0x11e92d704189 <undefined>,path=0x2e5357c7bae1 <String[9]: ./binding>)
   16: /* anonymous */ [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/couchbase.js:3] [pc=0x252b963bb01f] (this=0x193c4c57f819 <an Object with map 0x31e035407bc9>#11#,exports=0x193c4c57f819 <an Object with map 0x31e035407bc9>#11#,require=0x193c4c580bd1 <JS Function require (SharedFunctionInfo 0x1eac7de595c9)>#12#,module=0x193c4c57f7c9 <a Module with map 0x2ab7886181b9>#10#,__filename=0x193c4c57f791 <String[93]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/couchbase.js>,__dirname=0x193c4c580b69 <String[80]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib>)
   17: _compile [module.js:541] [pc=0x252b96141944] (this=0x193c4c57f7c9 <a Module with map 0x2ab7886181b9>#10#,content=0x193c4c580531 <String[392]\: 'use strict';\n\nvar binding = require('./binding');\n\nmodule.exports.Cluster = require('./cluster');\nmodule.exports.SpatialQuery = require('./spatialquery');\nmodule.exports.ViewQuery = require('./viewquery');\nmodule.exports.N1qlQuery = require('./n1qlquery');\nmodule.exports.Mock = require('./mock/couchbase');\nmodule.exports.Error = binding.Error;\nmodule.exports.errors = require('./errors');\n>,filename=0x193c4c57f791 <String[93]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/couchbase.js>)
   18: .js [module.js:550] [pc=0x252b9613a46b] (this=0x1eac7dedde51 <an Object with map 0x2ab788617be1>#1#,module=0x193c4c57f7c9 <a Module with map 0x2ab7886181b9>#10#,filename=0x193c4c57f791 <String[93]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/couchbase.js>)
   19: load [module.js:456] [pc=0x252b96138e72] (this=0x193c4c57f7c9 <a Module with map 0x2ab7886181b9>#10#,filename=0x193c4c57f791 <String[93]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/couchbase.js>)
   20: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x252b9613899d] (this=0x11e92d704189 <undefined>,module=0x193c4c57f7c9 <a Module with map 0x2ab7886181b9>#10#,filename=0x193c4c57f791 <String[93]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/couchbase/lib/couchbase.js>)
   21: _load [module.js:407] [pc=0x252b961345e2] (this=0x1eac7dedded1 <JS Function Module (SharedFunctionInfo 0x1eac7de286b9)>#3#,request=0x2e5357c23c41 <String[9]: couchbase>,parent=0x193c4c3cf9c1 <a Module with map 0x2ab7886181b9>#13#,isMain=0x11e92d704299 <false>)
   22: require [module.js:~463] [pc=0x252b961a33eb] (this=0x193c4c3cf9c1 <a Module with map 0x2ab7886181b9>#13#,path=0x2e5357c23c41 <String[9]: couchbase>)
   23: require(aka require) [internal/module.js:20] [pc=0x252b961428a6] (this=0x11e92d704189 <undefined>,path=0x2e5357c23c41 <String[9]: couchbase>)
   24: /* anonymous */ [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/repository/couchbase.js:6] [pc=0x252b963954e0] (this=0x193c4c3cfa11 <an Object with map 0x31e035407bc9>#14#,exports=0x193c4c3cfa11 <an Object with map 0x31e035407bc9>#14#,require=0x193c4c3d2651 <JS Function require (SharedFunctionInfo 0x1eac7de595c9)>#15#,module=0x193c4c3cf9c1 <a Module with map 0x2ab7886181b9>#13#,__filename=0x193c4c3cf989 <String[77]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/repository/couchbase.js>,__dirname=0x193c4c3d25e9 <String[64]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/repository>)
   25: _compile [module.js:541] [pc=0x252b96141944] (this=0x193c4c3cf9c1 <a Module with map 0x2ab7886181b9>#13#,content=0x193c4c3d0661 <Very long string[3220]>#16#,filename=0x193c4c3cf989 <String[77]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/repository/couchbase.js>)
   26: .js [module.js:550] [pc=0x252b9613a46b] (this=0x1eac7dedde51 <an Object with map 0x2ab788617be1>#1#,module=0x193c4c3cf9c1 <a Module with map 0x2ab7886181b9>#13#,filename=0x193c4c3cf989 <String[77]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/repository/couchbase.js>)
   27: load [module.js:456] [pc=0x252b96138e72] (this=0x193c4c3cf9c1 <a Module with map 0x2ab7886181b9>#13#,filename=0x193c4c3cf989 <String[77]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/repository/couchbase.js>)
   28: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x252b9613899d] (this=0x11e92d704189 <undefined>,module=0x193c4c3cf9c1 <a Module with map 0x2ab7886181b9>#13#,filename=0x193c4c3cf989 <String[77]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/repository/couchbase.js>)
   29: _load [module.js:407] [pc=0x252b961345e2] (this=0x1eac7dedded1 <JS Function Module (SharedFunctionInfo 0x1eac7de286b9)>#3#,request=0x2e5357c22a61 <String[23]: ../repository/couchbase>,parent=0x193c4c3c8939 <a Module with map 0x2ab7886181b9>#17#,isMain=0x11e92d704299 <false>)
   30: require [module.js:~463] [pc=0x252b961a33eb] (this=0x193c4c3c8939 <a Module with map 0x2ab7886181b9>#17#,path=0x2e5357c22a61 <String[23]: ../repository/couchbase>)
   31: require(aka require) [internal/module.js:20] [pc=0x252b961428a6] (this=0x11e92d704189 <undefined>,path=0x2e5357c22a61 <String[23]: ../repository/couchbase>)
   32: /* anonymous */ [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/service/session_service.js:5] [pc=0x252b96394fac] (this=0x193c4c3c8989 <an Object with map 0x31e035407bc9>#18#,exports=0x193c4c3c8989 <an Object with map 0x31e035407bc9>#18#,require=0x193c4c3cb841 <JS Function require (SharedFunctionInfo 0x1eac7de595c9)>#19#,module=0x193c4c3c8939 <a Module with map 0x2ab7886181b9>#17#,__filename=0x193c4c3c8901 <String[80]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/service/session_service.js>,__dirname=0x193c4c3cb7d9 <String[61]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/service>)
   33: _compile [module.js:541] [pc=0x252b96141944] (this=0x193c4c3c8939 <a Module with map 0x2ab7886181b9>#17#,content=0x193c4c3c95c1 <Very long string[2795]>#20#,filename=0x193c4c3c8901 <String[80]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/service/session_service.js>)
   34: .js [module.js:550] [pc=0x252b9613a46b] (this=0x1eac7dedde51 <an Object with map 0x2ab788617be1>#1#,module=0x193c4c3c8939 <a Module with map 0x2ab7886181b9>#17#,filename=0x193c4c3c8901 <String[80]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/service/session_service.js>)
   35: load [module.js:456] [pc=0x252b96138e72] (this=0x193c4c3c8939 <a Module with map 0x2ab7886181b9>#17#,filename=0x193c4c3c8901 <String[80]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/service/session_service.js>)
   36: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x252b9613899d] (this=0x11e92d704189 <undefined>,module=0x193c4c3c8939 <a Module with map 0x2ab7886181b9>#17#,filename=0x193c4c3c8901 <String[80]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/service/session_service.js>)
   37: _load [module.js:407] [pc=0x252b961345e2] (this=0x1eac7dedded1 <JS Function Module (SharedFunctionInfo 0x1eac7de286b9)>#3#,request=0x2e5357c21d01 <String[26]: ../service/session_service>,parent=0x193c4c3c2799 <a Module with map 0x2ab7886181b9>#21#,isMain=0x11e92d704299 <false>)
   38: require [module.js:~463] [pc=0x252b961a33eb] (this=0x193c4c3c2799 <a Module with map 0x2ab7886181b9>#21#,path=0x2e5357c21d01 <String[26]: ../service/session_service>)
   39: require(aka require) [internal/module.js:20] [pc=0x252b961428a6] (this=0x11e92d704189 <undefined>,path=0x2e5357c21d01 <String[26]: ../service/session_service>)
   40: /* anonymous */ [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/controllers/create_session.js:5] [pc=0x252b96394b93] (this=0x193c4c3c27e9 <an Object with map 0x31e035407bc9>#22#,exports=0x193c4c3c27e9 <an Object with map 0x31e035407bc9>#22#,require=0x193c4c3c4841 <JS Function require (SharedFunctionInfo 0x1eac7de595c9)>#23#,module=0x193c4c3c2799 <a Module with map 0x2ab7886181b9>#21#,__filename=0x193c4c3c2761 <String[83]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/controllers/create_session.js>,__dirname=0x193c4c3c47d9 <String[65]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/controllers>)
   41: _compile [module.js:541] [pc=0x252b96141944] (this=0x193c4c3c2799 <a Module with map 0x2ab7886181b9>#21#,content=0x193c4c3c3461 <Very long string[1534]>#24#,filename=0x193c4c3c2761 <String[83]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/controllers/create_session.js>)
   42: .js [module.js:550] [pc=0x252b9613a46b] (this=0x1eac7dedde51 <an Object with map 0x2ab788617be1>#1#,module=0x193c4c3c2799 <a Module with map 0x2ab7886181b9>#21#,filename=0x193c4c3c2761 <String[83]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/controllers/create_session.js>)
   43: load [module.js:456] [pc=0x252b96138e72] (this=0x193c4c3c2799 <a Module with map 0x2ab7886181b9>#21#,filename=0x193c4c3c2761 <String[83]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/controllers/create_session.js>)
   44: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x252b9613899d] (this=0x11e92d704189 <undefined>,module=0x193c4c3c2799 <a Module with map 0x2ab7886181b9>#21#,filename=0x193c4c3c2761 <String[83]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/controllers/create_session.js>)
   45: _load [module.js:407] [pc=0x252b961345e2] (this=0x1eac7dedded1 <JS Function Module (SharedFunctionInfo 0x1eac7de286b9)>#3#,request=0x2e5357c20891 <String[29]: ../controllers/create_session>,parent=0x193c4c3bbe71 <a Module with map 0x2ab7886181b9>#25#,isMain=0x11e92d704299 <false>)
   46: require [module.js:~463] [pc=0x252b961a33eb] (this=0x193c4c3bbe71 <a Module with map 0x2ab7886181b9>#25#,path=0x2e5357c20891 <String[29]: ../controllers/create_session>)
   47: require(aka require) [internal/module.js:20] [pc=0x252b961428a6] (this=0x11e92d704189 <undefined>,path=0x2e5357c20891 <String[29]: ../controllers/create_session>)
   48: /* anonymous */ [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/routes/index.js:4] [pc=0x252b96394387] (this=0x193c4c3bbec1 <an Object with map 0x31e035407bc9>#26#,exports=0x193c4c3bbec1 <an Object with map 0x31e035407bc9>#26#,require=0x193c4c3bd549 <JS Function require (SharedFunctionInfo 0x1eac7de595c9)>#27#,module=0x193c4c3bbe71 <a Module with map 0x2ab7886181b9>#25#,__filename=0x193c4c3bbe39 <String[69]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/routes/index.js>,__dirname=0x193c4c3bd4e1 <String[60]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/routes>)
   49: _compile [module.js:541] [pc=0x252b96141944] (this=0x193c4c3bbe71 <a Module with map 0x2ab7886181b9>#25#,content=0x193c4c3bca59 <String[927]\: 'use strict';\n\nconst admin = require('../controllers/admin');\nconst createSession = require('../controllers/create_session');\nconst getSession = require('../controllers/get_session');\nconst updateSession = require('../controllers/update_session');\nconst deleteSession = require('../controllers/delete_session');\nconst validate = require('express-validation');\nconst validation = require('../utils/validation/schema');\n\nmodule.exports = function routes(app) {\n  \n\x09app.get('/service/health', admin.health);\n  app.get('/service/version', admin.version);\n  \n\x09app.post('/sessions/:app', validate(validation.create), createSession);\n\x09app.get('/sessions/:app/:session_id', validate(validation.get), getSession);\n\x09app.put('/sessions/:app/:session_id', validate(validation.update), updateSession);\n\x09app.delete('/sessions/:session_id', validate(validation.delete), deleteSession);\n\x09app.head('/sessions/:app/:session_id', getSession);\n};\n>,filename=0x193c4c3bbe39 <String[69]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/routes/index.js>)
   50: .js [module.js:550] [pc=0x252b9613a46b] (this=0x1eac7dedde51 <an Object with map 0x2ab788617be1>#1#,module=0x193c4c3bbe71 <a Module with map 0x2ab7886181b9>#25#,filename=0x193c4c3bbe39 <String[69]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/routes/index.js>)
   51: load [module.js:456] [pc=0x252b96138e72] (this=0x193c4c3bbe71 <a Module with map 0x2ab7886181b9>#25#,filename=0x193c4c3bbe39 <String[69]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/routes/index.js>)
   52: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x252b9613899d] (this=0x11e92d704189 <undefined>,module=0x193c4c3bbe71 <a Module with map 0x2ab7886181b9>#25#,filename=0x193c4c3bbe39 <String[69]: /Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/routes/index.js>)
   53: _load [module.js:407] [pc=0x252b961345e2] (this=0x1eac7dedded1 <JS Function Module (SharedFunctionInfo 0x1eac7de286b9)>#3#,request=0x1eac7de58639 <String[8]: ./routes>,parent=0x1eac7deddfa9 <a Module with map 0x2ab7886181b9>#28#,isMain=0x11e92d704299 <false>)
   54: require [module.js:~463] [pc=0x252b961a33eb] (this=0x1eac7deddfa9 <a Module with map 0x2ab7886181b9>#28#,path=0x1eac7de58639 <String[8]: ./routes>)
   55: require(aka require) [internal/module.js:20] [pc=0x252b961428a6] (this=0x11e92d704189 <undefined>,path=0x1eac7de58639 <String[8]: ./routes>)
   56: /* anonymous */(aka /* anonymous */) [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/index.js:90] [pc=0x252b963436be] (this=0x11e92d704189 <undefined>)
   57: arguments adaptor frame: 1->0
   58: tryCatcher(aka tryCatcher) [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/request-promise/node_modules/bluebird/js/main/util.js:26] [pc=0x252b962da06b] (this=0x11e92d704189 <undefined>)
   59: arguments adaptor frame: 1->0
   60: _settlePromiseFromHandler [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/request-promise/node_modules/bluebird/js/main/promise.js:507] [pc=0x252b9633d794] (this=0x193c4c00fca1 <a Promise with map 0x2ab78867f729>#29#,handler=0x193c4c00fbe9 <JS Function configurationService.getConfiguration.then.then.then.then (SharedFunctionInfo 0x1eac7de58dc1)>#30#,receiver=0x11e92d704189 <undefined>,value=0x11e92d704189 <undefined>,promise=0x193c4c00fc51 <a Promise with map 0x2ab78867f729>#31#)
   61: _settlePromiseAt [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/request-promise/node_modules/bluebird/js/main/promise.js:581] [pc=0x252b9633c6aa] (this=0x193c4c00fca1 <a Promise with map 0x2ab78867f729>#29#,index=0)
   62: _settlePromises [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/request-promise/node_modules/bluebird/js/main/promise.js:697] [pc=0x252b9633bef0] (this=0x193c4c00fca1 <a Promise with map 0x2ab78867f729>#29#)
   63: _drainQueue [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/request-promise/node_modules/bluebird/js/main/async.js:123] [pc=0x252b9633ba31] (this=0xad44959a439 <an Async with map 0x2ab788674939>#32#,queue=0xad4495ae1e1 <a Queue with map 0x2ab788674729>#33#)
   64: _drainQueues [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/request-promise/node_modules/bluebird/js/main/async.js:133] [pc=0x252b9633b771] (this=0xad44959a439 <an Async with map 0x2ab788674939>#32#)
   65: _onImmediate [/Users/ofer/Dev/WEBINFRA/webinfra-session-service/app/node_modules/request-promise/node_modules/bluebird/js/main/async.js:15] [pc=0x252b9633b653] (this=0x193c4c00fcf1 <an Immediate with map 0x2ab7886ea709>#34#)
   66: tryOnImmediate(aka tryOnImmediate) [timers.js:543] [pc=0x252b962f331a] (this=0x11e92d704189 <undefined>,immediate=0x193c4c00fcf1 <an Immediate with map 0x2ab7886ea709>#34#,queue=0x193c4c00fd59 <an Object with map 0x2ab78860aa31>#35#)
   67: _immediateCallback(aka processImmediate) [timers.js:523] [pc=0x252b962f2c8e] (this=0x11e92d7e5b91 <a process with map 0x2ab7886e0c59>#36#)
=====================


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

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

Node.js version 6.0 uses new V8 version 5 so i guess this is the problem here.


#2

Hey @oferitz,

We are aware of this issue and it should be resolved for our next release.

Cheers, Brett