Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'name') #62

Open
sausagenoods opened this issue Jun 2, 2024 · 0 comments
Open

Comments

@sausagenoods
Copy link

sausagenoods commented Jun 2, 2024

Had a crash happen while accepting bills. My program isn't too different from the one in the example, it's slightly modified.

image

/home/siren/projects/nv10d/node_modules/encrypted-smiley-secure-protocol/src/utils.js:236
      result.info.name = rejectNote[data[0]].name;
                                             ^

TypeError: Cannot read properties of undefined (reading 'name')
    at parseData (/home/siren/projects/nv10d/node_modules/encrypted-smiley-secure-protocol/src/utils.js:236:46)
    at SSP.parsePacket (/home/siren/projects/nv10d/node_modules/encrypted-smiley-secure-protocol/src/index.js:218:24)
    at EventEmitter.<anonymous> (/home/siren/projects/nv10d/node_modules/encrypted-smiley-secure-protocol/src/index.js:172:24)
    at Object.onceWrapper (node:events:633:26)
    at EventEmitter.emit (node:events:518:28)
    at ESSPProtocolParser.<anonymous> (/home/siren/projects/nv10d/node_modules/encrypted-smiley-secure-protocol/src/index.js:58:27)
    at ESSPProtocolParser.emit (node:events:518:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushObjectMode (node:internal/streams/readable:536:3)
    at Readable.push (node:internal/streams/readable:391:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant