You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: onKey is not a function
at WinKeyServer.GlobalKeyboardListener.baseListener [as listener]
at Socket.<anonymous> (C:\Users\adabi\Desktop\Epitech\Dofus_Passe_Tour\node_modules\node-global-key-listener\build\ts\WinKeyServer.js:36:48)
at Socket.emit (node:events:539:35)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:285:11)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
The text was updated successfully, but these errors were encountered:
Hi, I have a problem when pressing a key with the function onKey
Here is my code:
Here is the error:
The text was updated successfully, but these errors were encountered: