squattingmonk/nasher

An unknown error occurred

Closed this issue · 4 comments

I just installed Nasher and I get the following error message:
Happens on nasher init --verbose / nasher pack --verbose
Any ideas what happened?

C:\Users\nutzer\Downloads\mintarn>nasher init --verbose
Error: An unknown error occurred. Please file a bug report at
... https://github.com/squattingmonk/nasher.nim/issues using the stack trace info below:
oserr.nim(94) raiseOSError
Error: unhandled exception: The system cannot find the file specified.
Additional info: "regOpenKeyEx(handle, hh, 0, KEY_READ or KEY_WOW64_64KEY, newHandle)" [OSError]

When you ran init, were you presented with any questions? Try nasher init --default (without verbose) and see if it initializes for you. If you already have a nasher.cfg or .nasher folder, try deleting those so you can start fresh.

OS errors can sometimes be tough to track down.

This is erroring out when nasher is checking for a registry entry for a Steam or GOG install. Can you see if nimble install nasher@#fix-issue-87 works for you?

Yes, it works now. Thank you.
Sorry for the late reply.

Merged in 3b3ed21. nasher 0.15.3 now contains the fix. Thanks for the report!