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

UnhandledPromiseRejectionWarning: Error: Device not found #10

Open
congwing opened this issue Feb 12, 2023 · 3 comments
Open

UnhandledPromiseRejectionWarning: Error: Device not found #10

congwing opened this issue Feb 12, 2023 · 3 comments

Comments

@congwing
Copy link

congwing commented Feb 12, 2023

运行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
Copy link
Contributor

nszdhd1 commented Feb 13, 2023

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

@congwing
Copy link
Author

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

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

@nszdhd1
Copy link
Contributor

nszdhd1 commented Feb 21, 2023

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正常运行

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

2 participants