perseus icon indicating copy to clipboard operation
perseus copied to clipboard

perseus-cli installation fail on windows 10.

Open laloutre87 opened this issue 1 year ago • 3 comments

This issue is reporting a bug in the code of Perseus. Details of the scope will be available in issue labels. The author described their issue as follows:

On Windows 10, installation ( cargo install perseus-cli ) fails.

Error message :

error[E0432]: unresolved import winapi::shared::winerror --> [...] .cargo\registry\src\index.crates.io-6f17d22bba15001f\notify-5.0.0-pre.13\src\windows.rs:9:21 | 9 | use winapi::shared::winerror::ERROR_OPERATION_ABORTED; | ^^^^^^^^ could not find winerror in shared

Upgrading the "notify" depency version requirement to 5.1 allow the installation to proceed.

The steps to reproduce this issue are as follows:

Try to install perseus-cli on windows 10.

A minimum reproducible example is available at <>.

  • Hydration-related: false
  • The author is willing to attempt a fix: false
Tribble internal data

dHJpYmJsZS1yZXBvcnRlZCxDLWJ1ZyxBLWNsaQ==

laloutre87 avatar Jun 23 '24 14:06 laloutre87

A temporary fix should be to use cargo install perseus-cli --locked instead. This will make sure to use the dependencies as specified in the lockfile instead of using the latest Semantic versioning compatible crates.

lukechu10 avatar Jun 24 '24 17:06 lukechu10

Nice workaround. Works well.

laloutre87 avatar Jun 24 '24 18:06 laloutre87

Will cut a new release fairly soon, pinning this for now to help others!

arctic-hen7 avatar Jun 25 '24 03:06 arctic-hen7