cocos creator 2.4.11
os macOS m2
> xiaomi-adapter@1.0.0 debug /build/xiaomi
> quickgame debug
2023-03-06T10:10:43.021Z - normal: Debugger setup.
2023-03-06T10:10:43.100Z - normal: tcp:9676 localabstract:webview_devtools_remote_9676
2023-03-06T10:10:43.114Z - normal: Setup port forawrd.
2023-03-06T10:10:43.124Z - normal: Page: quickgame
Debugger URL: https://devtools.inf.miui.com/inspector/71.0.3578.132/inspector.html?remoteFrontend=true&dockSide=undocked&ws=127.0.0.1:9676/devtools/page/191104FDF490876044070738A4152EB3
2023-03-06T10:10:43.206Z - error: (node:64006) UnhandledPromiseRejectionWarning: null
at Socket.<anonymous> (/CocosDashboard/Creator/2.4.11/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/xiaomi-runtime/panel/scanCode.ccc:1:1455)
at Socket.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Socket.Readable.push (internal/streams/readable.js:223:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
2023-03-06T10:10:43.206Z - error: (node:64006) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:64006) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
at Socket.<anonymous> (/CocosDashboard/Creator/2.4.11/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/xiaomi-runtime/panel/scanCode.ccc:1:1455)
at Socket.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Socket.Readable.push (internal/streams/readable.js:223:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)