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
When I enable PMP and initialized, it throw a Uncaught Exception : (
client=newNatAPI({enablePMP: true})
Uncaught Exception:
TypeError: Cannot read property 'readUInt8' of undefined
at Client.onMessage (node_modules/nat-api/lib/pmp/index.js:257:23)
at Socket. (node_modules/nat-api/lib/pmp/index.js:50:42)
at Socket.emit (events.js:210:5)
at UDP.onMessage [as onmessage] (dgram.js:861:8)
I open the source code to find readUInt8, then set
cross-env DEBUG='nat-pmp*'
and restart the application, found the following log:
Hello Alex,
When I enable PMP and initialized, it throw a Uncaught Exception : (
Uncaught Exception:
TypeError: Cannot read property 'readUInt8' of undefined
at Client.onMessage (node_modules/nat-api/lib/pmp/index.js:257:23)
at Socket. (node_modules/nat-api/lib/pmp/index.js:50:42)
at Socket.emit (events.js:210:5)
at UDP.onMessage [as onmessage] (dgram.js:861:8)
I open the source code to find
readUInt8
, then setcross-env DEBUG='nat-pmp*'
and restart the application, found the following log:
I don’t know how to fix it, so I ’ll ask for help.
ENV
The text was updated successfully, but these errors were encountered: