install_current_exe

Diagnostic `nanook::cli::install_current_exe`

Summary

could not locate the running nanook binary

Help

re-invoke nanook install from a normal shell instead of a deleted or moved binary

Details

When this fires

nanook install couldn't figure out where the running binary lives. It calls std::env::current_exe() then canonicalize, and one of those failed. Most often the original binary was deleted or moved out from under the running process, or you're on a platform that can't resolve it.

What to check

If you were running from a build dir that just got cargo cleaned, rebuild and retry. On exotic filesystems, confirm readlink /proc/self/exe works.

which nanook && nanook install