alex35mil / NeoHub

Instance manager for Neovide
44 stars 8 forks source link

Cli app error #16

Open bassamsdata opened 4 months ago

bassamsdata commented 4 months ago

What happened?

I can't open Neovide with Neohub, error below occurs. After installing the latest version, I encountered the following error. I attempted to resolve it by deleting Neohub from /usr/local/bin/ and reinstalling it, but the issue persists.

There's no specific reproduction steps; it simply didn't work. Additionally, it doesn't check if Neohub GUI is running; the error occurs regardless.

Error details

CLI failed to report a status → Failed to get CLI version
App: Version 0.2.1 (Build 6d5ab7f)
macOS: Version 13.6.6 (Build 22G630)
Arch: x86_64
Context: SettingsView#body → CLI#getVersion()
Code: 6
Metadata:
    ["StdErr": "dyld[9183]: Library not loaded: @rpath/NeoHubLib.framework/Versions/A/NeoHubLib\n  Referenced from: <E100EF9A-B669-336C-B006-AB0886316A53> /usr/local/bin/neohub\n  Reason: tried: \'/usr/local/Frameworks/NeoHubLib.framework/Versions/A/NeoHubLib\' (no such file), \'/usr/local/lib/NeoHubLib.framework/Versions/A/NeoHubLib\' (code signature in <0FD7B9AE-1817-334A-B46F-CA173605B659> \'/usr/local/lib/NeoHubLib.framework/Versions/A/NeoHubLib\' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), \'/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/NeoHubLib.framework/Versions/A/NeoHubLib\' (no such file), \'/usr/local/Frameworks/NeoHubLib.framework/Versions/A/NeoHubLib\' (no such file), \'/usr/local/lib/NeoHubLib.framework/Versions/A/NeoHubLib\' (code signature in <0FD7B9AE-1817-334A-B46F-CA173605B659> \'/usr/local/lib/NeoHubLib.framework/Versions/A/NeoHubLib\' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), \'/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/NeoHubLib.framework/Versions/A/NeoHubLib\' (no such file)"]

Thank you

bassamsdata commented 4 months ago

after checking the dir mentioned in the error, I noticed all of this is not exist /local/Frameworks/NeoHubLib.framework/Versions/A/NeoHubLib

so the /System/Volumes/Preboot/Cryptexes/OS/usr/ has only lib dir and no local.

Thank you for the help

alex35mil commented 4 months ago

@bassamsdata I'm not entirely sure what's going on tbh. Did you successfully install CLI?