TypeError: Cannot read property 'name' of undefined
at RiakNode._connectionClosed (/home/ec2-user/gameserver/node_modules/basho-riak-client/lib/core/riaknode.js:565:27)
at emitTwo (events.js:87:13)
at RiakConnection.emit (events.js:172:7)
at RiakConnection._emitAndClose (/home/ec2-user/gameserver/node_modules/basho-riak-client/lib/core/riakconnection.js:137:18)
at RiakConnection._connClosed (/home/ec2-user/gameserver/node_modules/basho-riak-client/lib/core/riakconnection.js:459:10)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at TCP._onclose (net.js:477:12)
This should fix this:
TypeError: Cannot read property 'name' of undefined at RiakNode._connectionClosed (/home/ec2-user/gameserver/node_modules/basho-riak-client/lib/core/riaknode.js:565:27) at emitTwo (events.js:87:13) at RiakConnection.emit (events.js:172:7) at RiakConnection._emitAndClose (/home/ec2-user/gameserver/node_modules/basho-riak-client/lib/core/riakconnection.js:137:18) at RiakConnection._connClosed (/home/ec2-user/gameserver/node_modules/basho-riak-client/lib/core/riakconnection.js:459:10) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at TCP._onclose (net.js:477:12)