{"action":"created","issue":{"url":"https://api.github.com/repos/Holger-Will/node-enocean/issues/13","repository_url":"https://api.github.com/repos/Holger-Will/node-enocean","labels_url":"https://api.github.com/repos/Holger-Will/node-enocean/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Holger-Will/node-enocean/issues/13/comments","events_url":"https://api.github.com/repos/Holger-Will/node-enocean/issues/13/events","html_url":"https://github.com/Holger-Will/node-enocean/issues/13","id":167374230,"number":13,"title":"(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated","user":{"login":"cflurin","id":5056710,"avatar_url":"https://avatars.githubusercontent.com/u/5056710?v=3","gravatar_id":"","url":"https://api.github.com/users/cflurin","html_url":"https://github.com/cflurin","followers_url":"https://api.github.com/users/cflurin/followers","following_url":"https://api.github.com/users/cflurin/following{/other_user}","gists_url":"https://api.github.com/users/cflurin/gists{/gist_id}","starred_url":"https://api.github.com/users/cflurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cflurin/subscriptions","organizations_url":"https://api.github.com/users/cflurin/orgs","repos_url":"https://api.github.com/users/cflurin/repos","events_url":"https://api.github.com/users/cflurin/events{/privacy}","received_events_url":"https://api.github.com/users/cflurin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-25T14:05:53Z","updated_at":"2016-08-16T14:57:04Z","closed_at":"2016-08-16T14:57:04Z","body":"Hi,\r\nI tried basic.js, it works but I  got this message:\r\n```\r\n(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated\r\n(node) and will stop working in the next major release.\r\n\r\n==== JS stack trace =========================================\r\n\r\nSecurity context: 0x20e79031 <JS Object>#0#\r\n    1: .node [module.js:568] [pc=0x2d97b344] (this=0x5d80aefd <an Object with map 0x3d50be8d>#1#,module=0x5d89e2e1 <a Module with map 0x3d50c179>#2#,filename=0x5d89e28d <String[70]: /home/pi/enocean/node_modules/serialport/build/Release/serialport.node>)\r\n    2: load [module.js:458] [pc=0x2d941ad8] (this=0x5d89e2e1 <a Module with map 0x3d50c179>#2#,filename=0x5d89e28d <String[70]: /home/pi/enocean/node_modules/serialport/build/Release/serialport.node>)\r\n    3: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x2d9415a8] (this=0x20e080c9 <undefined>,module=0x5d89e2e1 <a Module with map 0x3d50c179>#2#,filename=0x5d89e28d <String[70]: /home/pi/enocean/node_modules/serialport/build/Release/serialport.node>)\r\n    4: _load [module.js:409] [pc=0x2d93c55c] (this=0x5d80af75 <JS Function Module (SharedFunctionInfo 0x5831c779)>#3#,request=0x5d89dcd9 <String[70]: /home/pi/enocean/node_modules/serialport/build/Release/serialport.node>,parent=0x5d80aed5 <a Module with map 0x3d50c179>#4#,isMain=0x20e08161 <false>)\r\n    5: require [module.js:468] [pc=0x2d94cb98] (this=0x5d80aed5 <a Module with map 0x3d50c179>#4#,path=0x5d89dcd9 <String[70]: /home/pi/enocean/node_modules/serialport/build/Release/serialport.node>)\r\n    6: require(aka require) [internal/module.js:20] [pc=0x2d94c86c] (this=0x20e080c9 <undefined>,path=0x5d89dcd9 <String[70]: /home/pi/enocean/node_modules/serialport/build/Release/serialport.node>)\r\n    7: bindings [/home/pi/enocean/node_modules/bindings/bindings.js:76] [pc=0x2d975d14] (this=0x20e8c34d <JS Global Object>#5#,opts=0x5835d0e9 <String[15]: serialport.node>)\r\n    8: /* anonymous */ [/home/pi/enocean/node_modules/serialport/lib/bindings.js:3] [pc=0x2d9743e4] (this=0x5d80b099 <an Object with map 0x3da09de5>#6#,exports=0x5d80b099 <an Object with map 0x3da09de5>#6#,require=0x5d80afb9 <JS Function require (SharedFunctionInfo 0x583391b9)>#7#,module=0x5d80af4d <a Module with map 0x3d50c179>#8#,__filename=0x5d80b055 <String[56]: /home/pi/enocean/node_modules/serialport/lib/bindings.js>,__dirname=0x5d80b041 <String[44]: /home/pi/enocean/node_modules/serialport/lib>)\r\n    9: _compile [module.js:541] [pc=0x2d94bd04] (this=0x5d80af4d <a Module with map 0x3d50c179>#8#,content=0x5d80b425 <String[784]\\: 'use strict';\\n\\nvar bindings = require('bindings')('serialport.node');\\nvar listUnix = require('./list-unix');\\n\\nvar linux = process.platform !== 'win32' && process.platform !== 'darwin';\\n\\nfunction listLinux(callback) {\\n  callback = callback || function(err) {\\n    if (err) { this.emit('error', err) }\\n  }.bind(this);\\n  return listUnix(callback);\\n};\\n\\nvar platformOptions = {};\\nif (process.platform !== 'win32') {\\n  platformOptions = {\\n    vmin: 1,\\n    vtime: 0\\n  };\\n}\\n\\nmodule.exports = {\\n  close: bindings.close,\\n  drain: bindings.drain,\\n  flush: bindings.flush,\\n  list: linux ? listLinux : bindings.list,\\n  open: bindings.open,\\n  SerialportPoller: bindings.SerialportPoller,\\n  set: bindings.set,\\n  update: bindings.update,\\n  write: bindings.write,\\n  platformOptions: platformOptions\\n};\\n>,filename=0x5d80b055 <String[56]: /home/pi/enocean/node_modules/serialport/lib/bindings.js>)\r\n   10: .js [module.js:550] [pc=0x2d9434d4] (this=0x5d80aefd <an Object with map 0x3d50be8d>#1#,module=0x5d80af4d <a Module with map 0x3d50c179>#8#,filename=0x5d80b055 <String[56]: /home/pi/enocean/node_modules/serialport/lib/bindings.js>)\r\n   11: load [module.js:458] [pc=0x2d941ad8] (this=0x5d80af4d <a Module with map 0x3d50c179>#8#,filename=0x5d80b055 <String[56]: /home/pi/enocean/node_modules/serialport/lib/bindings.js>)\r\n   12: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x2d9415a8] (this=0x20e080c9 <undefined>,module=0x5d80af4d <a Module with map 0x3d50c179>#8#,filename=0x5d80b055 <String[56]: /home/pi/enocean/node_modules/serialport/lib/bindings.js>)\r\n   13: _load [module.js:409] [pc=0x2d93c55c] (this=0x5d80af75 <JS Function Module (SharedFunctionInfo 0x5831c779)>#3#,request=0x5833d311 <String[10]: ./bindings>,parent=0x5d80b751 <a Module with map 0x3d50c179>#9#,isMain=0x20e08161 <false>)\r\n   14: require [module.js:468] [pc=0x2d94cb98] (this=0x5d80b751 <a Module with map 0x3d50c179>#9#,path=0x5833d311 <String[10]: ./bindings>)\r\n   15: require(aka require) [internal/module.js:20] [pc=0x2d94c86c] (this=0x20e080c9 <undefined>,path=0x5833d311 <String[10]: ./bindings>)\r\n   16: /* anonymous */ [/home/pi/enocean/node_modules/serialport/lib/serialport.js:16] [pc=0x2d954554] (this=0x5d80b8bd <an Object with map 0x3da09de5>#10#,exports=0x5d80b8bd <an Object with map 0x3da09de5>#10#,require=0x5d80b799 <JS Function require (SharedFunctionInfo 0x583391b9)>#11#,module=0x5d80b751 <a Module with map 0x3d50c179>#9#,__filename=0x5d80b875 <String[58]: /home/pi/enocean/node_modules/serialport/lib/serialport.js>,__dirname=0x5d80b861 <String[44]: /home/pi/enocean/node_modules/serialport/lib>)\r\n   17: _compile [module.js:541] [pc=0x2d94bd04] (this=0x5d80b751 <a Module with map 0x3d50c179>#9#,content=0x5d80ee2d <Very long string[13557]>#12#,filename=0x5d80b875 <String[58]: /home/pi/enocean/node_modules/serialport/lib/serialport.js>)\r\n   18: .js [module.js:550] [pc=0x2d9434d4] (this=0x5d80aefd <an Object with map 0x3d50be8d>#1#,module=0x5d80b751 <a Module with map 0x3d50c179>#9#,filename=0x5d80b875 <String[58]: /home/pi/enocean/node_modules/serialport/lib/serialport.js>)\r\n   19: load [module.js:458] [pc=0x2d941ad8] (this=0x5d80b751 <a Module with map 0x3d50c179>#9#,filename=0x5d80b875 <String[58]: /home/pi/enocean/node_modules/serialport/lib/serialport.js>)\r\n   20: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x2d9415a8] (this=0x20e080c9 <undefined>,module=0x5d80b751 <a Module with map 0x3d50c179>#9#,filename=0x5d80b875 <String[58]: /home/pi/enocean/node_modules/serialport/lib/serialport.js>)\r\n   21: _load [module.js:409] [pc=0x2d93c55c] (this=0x5d80af75 <JS Function Module (SharedFunctionInfo 0x5831c779)>#3#,request=0x5833ae21 <String[10]: serialport>,parent=0x5d812341 <a Module with map 0x3d50c179>#13#,isMain=0x20e08161 <false>)\r\n   22: require [module.js:468] [pc=0x2d94cb98] (this=0x5d812341 <a Module with map 0x3d50c179>#13#,path=0x5833ae21 <String[10]: serialport>)\r\n   23: require(aka require) [internal/module.js:20] [pc=0x2d94c86c] (this=0x20e080c9 <undefined>,path=0x5833ae21 <String[10]: serialport>)\r\n   24: /* anonymous */ [/home/pi/enocean/node_modules/node-enocean/index.js:16] [pc=0x2d952a6c] (this=0x5d812461 <an Object with map 0x3da09de5>#14#,exports=0x5d812461 <an Object with map 0x3da09de5>#14#,require=0x5d812389 <JS Function require (SharedFunctionInfo 0x583391b9)>#15#,module=0x5d812341 <a Module with map 0x3d50c179>#13#,__filename=0x5d812421 <String[51]: /home/pi/enocean/node_modules/node-enocean/index.js>,__dirname=0x5d81240d <String[42]: /home/pi/enocean/node_modules/node-enocean>)\r\n   25: _compile [module.js:541] [pc=0x2d94bd04] (this=0x5d812341 <a Module with map 0x3d50c179>#13#,content=0x5d81526d <Very long string[11665]>#16#,filename=0x5d812421 <String[51]: /home/pi/enocean/node_modules/node-enocean/index.js>)\r\n   26: .js [module.js:550] [pc=0x2d9434d4] (this=0x5d80aefd <an Object with map 0x3d50be8d>#1#,module=0x5d812341 <a Module with map 0x3d50c179>#13#,filename=0x5d812421 <String[51]: /home/pi/enocean/node_modules/node-enocean/index.js>)\r\n   27: load [module.js:458] [pc=0x2d941ad8] (this=0x5d812341 <a Module with map 0x3d50c179>#13#,filename=0x5d812421 <String[51]: /home/pi/enocean/node_modules/node-enocean/index.js>)\r\n   28: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x2d9415a8] (this=0x20e080c9 <undefined>,module=0x5d812341 <a Module with map 0x3d50c179>#13#,filename=0x5d812421 <String[51]: /home/pi/enocean/node_modules/node-enocean/index.js>)\r\n   29: _load [module.js:409] [pc=0x2d93c55c] (this=0x5d80af75 <JS Function Module (SharedFunctionInfo 0x5831c779)>#3#,request=0x58338d51 <String[3]: ../>,parent=0x5d81801d <a Module with map 0x3d50c179>#17#,isMain=0x20e08161 <false>)\r\n   30: require [module.js:468] [pc=0x2d94cb98] (this=0x5d81801d <a Module with map 0x3d50c179>#17#,path=0x58338d51 <String[3]: ../>)\r\n   31: require(aka require) [internal/module.js:20] [pc=0x2d94c86c] (this=0x20e080c9 <undefined>,path=0x58338d51 <String[3]: ../>)\r\n   32: /* anonymous */ [/home/pi/enocean/node_modules/node-enocean/examples/basic.js:1] [pc=0x2d94c138] (this=0x5d818125 <an Object with map 0x3da09de5>#18#,exports=0x5d818125 <an Object with map 0x3da09de5>#18#,require=0x5d818065 <JS Function require (SharedFunctionInfo 0x583391b9)>#19#,module=0x5d81801d <a Module with map 0x3d50c179>#17#,__filename=0x5d8180dd <String[60]: /home/pi/enocean/node_modules/node-enocean/examples/basic.js>,__dirname=0x5d8180c9 <String[51]: /home/pi/enocean/node_modules/node-enocean/examples>)\r\n   33: _compile [module.js:541] [pc=0x2d94bd04] (this=0x5d81801d <a Module with map 0x3d50c179>#17#,content=0x5d818419 <String[634]\\: var enocean = require( \"../\" )();  // require node-enocen\\n// start listening on the serialport \\n// if you use the enocean pi on a raspberry pi use:\\n// enocean.listen(\"/dev/ttyAMA0\")\\n// on Windows use:\\n// enocean.listen(\"COM1\") or whatever COM-port you are connected\\nenocean.listen( \"/dev/ttyUSB0\" ); \\n\\nenocean.on( \"data\" , function( data ) {   // a telegram has been received\\n\\x09console.log( data );               // log it to the console\\n\\x09console.log(data.choice);\\n\\x09console.log(data.packetTypeString);\\n\\x09console.log(data.raw);\\n  if (data.choice === \"a5\") {\\n    var ar = enocean.getData(\"a5-02-05\",data.raw)\\n    console.log(ar);\\n  }\\n});\\n>,filename=0x5d8180dd <String[60]: /home/pi/enocean/node_modules/node-enocean/examples/basic.js>)\r\n   34: .js [module.js:550] [pc=0x2d9434d4] (this=0x5d80aefd <an Object with map 0x3d50be8d>#1#,module=0x5d81801d <a Module with map 0x3d50c179>#17#,filename=0x5d8180dd <String[60]: /home/pi/enocean/node_modules/node-enocean/examples/basic.js>)\r\n   35: load [module.js:458] [pc=0x2d941ad8] (this=0x5d81801d <a Module with map 0x3d50c179>#17#,filename=0x5d8180dd <String[60]: /home/pi/enocean/node_modules/node-enocean/examples/basic.js>)\r\n   36: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x2d9415a8] (this=0x20e080c9 <undefined>,module=0x5d81801d <a Module with map 0x3d50c179>#17#,filename=0x5d8180dd <String[60]: /home/pi/enocean/node_modules/node-enocean/examples/basic.js>)\r\n   37: _load [module.js:409] [pc=0x2d93c55c] (this=0x5d80af75 <JS Function Module (SharedFunctionInfo 0x5831c779)>#3#,request=0x5d8186b1 <String[60]: /home/pi/enocean/node_modules/node-enocean/examples/basic.js>,parent=0x20e08081 <null>,isMain=0x20e08129 <true>)\r\n   38: runMain [module.js:575] [pc=0x2d93bfb8] (this=0x5d80af75 <JS Function Module (SharedFunctionInfo 0x5831c779)>#3#)\r\n   39: startup(aka startup) [node.js:160] [pc=0x43143864] (this=0x20e080c9 <undefined>)\r\n   40: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x43140f74] (this=0x20e08081 <null>,process=0x20e888d5 <a process with map 0x3da0e8a9>#20#)\r\n```\r\n\r\nI'm running node v6.3.1 on a Raspberry Pi 2, Jessie 4.4.9 v7.\r\n\r\nAny idea?\r\n"},"comment":{"url":"https://api.github.com/repos/Holger-Will/node-enocean/issues/comments/240128300","html_url":"https://github.com/Holger-Will/node-enocean/issues/13#issuecomment-240128300","issue_url":"https://api.github.com/repos/Holger-Will/node-enocean/issues/13","id":240128300,"user":{"login":"Holger-Will","id":10807348,"avatar_url":"https://avatars.githubusercontent.com/u/10807348?v=3","gravatar_id":"","url":"https://api.github.com/users/Holger-Will","html_url":"https://github.com/Holger-Will","followers_url":"https://api.github.com/users/Holger-Will/followers","following_url":"https://api.github.com/users/Holger-Will/following{/other_user}","gists_url":"https://api.github.com/users/Holger-Will/gists{/gist_id}","starred_url":"https://api.github.com/users/Holger-Will/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Holger-Will/subscriptions","organizations_url":"https://api.github.com/users/Holger-Will/orgs","repos_url":"https://api.github.com/users/Holger-Will/repos","events_url":"https://api.github.com/users/Holger-Will/events{/privacy}","received_events_url":"https://api.github.com/users/Holger-Will/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T14:57:04Z","updated_at":"2016-08-16T14:57:04Z","body":"there are some breaking changes in 4.x so i go with 3.x for the time beeing. fixes the Problem as well. Thanks!"}}
{"actor":{"display_login":"Holger-Will"}}