question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi

Please can you help me with this problem?

/bot/node_modules/mysql/lib/protocol/Parser.js:80
        throw err; // Rethrow non-MySQL errors
        ^

TypeError: Cannot read property 'createOffer' of undefined
    at Query._callback (/var/www/html/bot/driver.js:659:65)
    at Query.Sequence.end (/var/www/html/bot/node_modules/mysql/lib/protocol/sequences/Sequence.js:88:24)
    at Query._handleFinalResultPacket (/var/www/html/bot/node_modules/mysql/lib/protocol/sequences/Query.js:139:8)
    at Query.EofPacket (/var/www/html/bot/node_modules/mysql/lib/protocol/sequences/Query.js:123:8)
    at Protocol._parsePacket (/var/www/html/bot/node_modules/mysql/lib/protocol/Protocol.js:279:23)
    at Parser.write (/var/www/html/bot/node_modules/mysql/lib/protocol/Parser.js:76:12)
    at Protocol.write (/var/www/html/bot/node_modules/mysql/lib/protocol/Protocol.js:39:16)
    at Socket.<anonymous> (/var/www/html/bot/node_modules/mysql/lib/Connection.js:103:28)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)

I dont know why is this error in

Call code: 659 line

                    var app = bots_list[my_inv[0]['bot_id']].createOffer(tradelink);
                    items.forEach(function(target) {
                      app.addMyItem({
                          appid: 730,
                          contextid: 2,
                          amount: 1,
                          assetid: target
                        });
                      });

Thank you so much

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
alijab30000commented, May 6, 2020

I am having the same error please help. throw err; // Rethrow non-MySQL errors ^

Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

0reactions
provawebdevcommented, Sep 30, 2019

I am having the same error please help.

/node_modules/mysql/lib/protocol/Parser.js:437 throw err; // Rethrow non-MySQL errors ^

TypeError: Cannot read property ‘author’ of undefined

Read more comments on GitHub >

github_iconTop Results From Across the Web

js80/parser.pegjs at master · samsaga2/js80 · GitHub
z80 assembler for node. Contribute to samsaga2/js80 development by creating an account on GitHub. ... js80/parser.pegjs.
Read more >
CAAMLParser - niviz
Defined in: lib/parsers/caaml.js:39 ... Inherited from Parser but overwritten in lib/parser.js:130 ... Inherited from XMLParser: lib/parsers/xml.js:80 ...
Read more >
Parse 4.2 startup error Must Provide Source. Received
I am upgrading from Parse Server 3.10 to 4.2 and I am getting the ... Parser (XXXXXXXXX/node_modules/graphql/language/parser.js:80:67) at ...
Read more >
Untitled
... at Connection.emit (events.js:210:5) at Parser. ... (D:\inetpub\wwwroot\ibarramayoreo\node_modules\tedious\lib\token\stream-parser.js:80:14) at ...
Read more >
vue webpack template missing parser - Stack Overflow
src/App.vue Module build failed: Error: No parser and no file path ... \node_modules\vue-loader\lib\template-compiler\index.js:80:23) @ .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found