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

【问题】m3 pro打开yakit之后没有ui显示 #2319

Open
cao1179107485 opened this issue Jan 26, 2025 · 5 comments
Open

【问题】m3 pro打开yakit之后没有ui显示 #2319

cao1179107485 opened this issue Jan 26, 2025 · 5 comments

Comments

@cao1179107485
Copy link

正常安装,然后输入sudo xattr -r -d com.apple.quarantine /Applications/Yakit.app,打开应用程序没有显示yakit界面,上方有显示yakit的功能栏

Image

@cao1179107485
Copy link
Author

用pd windows虚拟机运行x64版本yakit可以正常使用,在本机上无法打开yakit界面,macos
14.6.1

@VillanCh
Copy link
Contributor

VillanCh commented Feb 6, 2025

师傅可以使用命令行启动 Yakit,例如在命令行输入 /Applications/Yakit.app/Contents/MacOS/Yakit 观察报错

@cao1179107485
Copy link
Author

/Applications/Yakit.app/Contents/MacOS/Yakit
---------- Global-Path Start ----------
software-path: /Applications/Yakit.app/Contents/MacOS
os-home-path: /Users/0x00
yakit-projects-path: /Users/0x00/yakit-projects
---------- Global-Path End ----------
(node:35777) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, mkdir '/Users/0x00/yakit-projects/engine-log'
at Object.mkdirSync (node:fs:1398:3)
at /Applications/Yakit.app/Contents/Resources/app.asar/app/main/index.js:156:12
(Use Yakit --trace-warnings ... to show where the warning was created)
(node:35777) 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)

@cao1179107485
Copy link
Author

请问这个报错怎么解决

@VillanCh
Copy link
Contributor

请问这个报错怎么解决

这个错误是因为无法创建日志文件,可能是 ~/yakit-projects 这个文件夹下的权限问题导致的。

在你的权限下,chmod +x ~/yakit-projects 或者 使用 chgrp 修改 ~/yakit-projects 所属的权限组应该可以解决。

如果都不行的话,sudo rm -rf ~/yakit-projects 把这个文件夹全部删除,让 Yakit 自动重建即可

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