Error Can not read property 'toString' of undefined

0

I'm creating an application using Express , but I'm facing this error:

➜  Futiba git:(master) ✗ node index.js

➜ [ Server ] Online

/home/akira/Downloads/Futiba/node_modules/mysql2/lib/packets/execute.js:57

          var str = this.parameters[i].toString();
                                       ^

TypeError: Cannot read property 'toString' of undefined
    at Execute.toPacket (/home/akira/Downloads/Futiba/node_modules/mysql2/lib/packets/execute.js:57:40)
    at Execute.start (/home/akira/Downloads/Futiba/node_modules/mysql2/lib/commands/execute.js:53:40)
    at Execute.Command.execute (/home/akira/Downloads/Futiba/node_modules/mysql2/lib/commands/command.js:40:20)
    at Connection.handlePacket (/home/akira/Downloads/Futiba/node_modules/mysql2/lib/connection.js:515:28)
    at Connection.handlePacket (/home/akira/Downloads/Futiba/node_modules/mysql2/lib/connection.js:521:12)
    at PacketParser.onPacket (/home/akira/Downloads/Futiba/node_modules/mysql2/lib/connection.js:94:16)
    at PacketParser.executeStart (/home/akira/Downloads/Futiba/node_modules/mysql2/lib/packet_parser.js:77:14)
    at Socket.<anonymous> (/home/akira/Downloads/Futiba/node_modules/mysql2/lib/connection.js:102:29)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
➜  Futiba git:(master) ✗

When trying to add values to the inputs of localhost:3000/admin/games . I researched here in the forum, however most of the topics I encountered had in their logs the information where the error was, in which case it does not specifically report and I am not able to track even though I have found something similar in Why do I get Can not read property 'toString' of undefined , but again , I am not making use of toString and it would not be legal to edit this in the Mysql 2 package that I presume you are doing

    
asked by anonymous 02.02.2018 / 15:39

0 answers