Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

perseus-cli installation fail on windows 10. #324

Open
laloutre87 opened this issue Jun 23, 2024 · 3 comments
Open

perseus-cli installation fail on windows 10. #324

laloutre87 opened this issue Jun 23, 2024 · 3 comments
Labels
A-cli Area: command line interface C-bug Category: bug tribble-reported This issue was reported through Tribble.

Comments

@laloutre87
Copy link

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==

@github-actions github-actions bot added A-cli Area: command line interface C-bug Category: bug tribble-reported This issue was reported through Tribble. labels Jun 23, 2024
@lukechu10
Copy link
Contributor

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.

@laloutre87
Copy link
Author

Nice workaround. Works well.

@arctic-hen7 arctic-hen7 pinned this issue Jun 25, 2024
@arctic-hen7
Copy link
Member

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-cli Area: command line interface C-bug Category: bug tribble-reported This issue was reported through Tribble.
Projects
None yet
Development

No branches or pull requests

3 participants