perseus
perseus copied to clipboard
perseus-cli installation fail on windows 10.
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==
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.
Nice workaround. Works well.
Will cut a new release fairly soon, pinning this for now to help others!