GrowthEase / GameSentry

一款提高安全测试效率的工具
Apache License 2.0
431 stars 108 forks source link

UnhandledPromiseRejectionWarning: Error: Device not found #10

Open congwing opened 1 year ago

congwing commented 1 year ago

运行node index.js之后显示running on http://127.0.0.1:5000/ 按官方指引这已经运行成功了,然后浏览器输入127.0.0.1:5000之后,就会出现下面报错,页面也打不开,一直加载。请问这是什么问题? E:\GameSentry-main>node index.js Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) (node:11888) UnhandledPromiseRejectionWarning: Error: Unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use (Use node --trace-warnings ... to show where the warning was created) (node:11888) 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:11888) [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.

nszdhd1 commented 1 year ago

如果确认frida正常运行的话,可以试试其他frida版本

congwing commented 1 year ago

如果确认frida正常运行的话,可以试试其他frida版本

更换了指引里面的15.1.17版本的frida还是同样的报错

nszdhd1 commented 1 year ago

UnhandledPromiseRejectionWarning: Error: Unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use 这个问题的提示的是frida-server的版本与电脑上的frida版本不一致,这个最好是检查一下frida-server的版本是否与电脑对应,确保frida-server正常运行