[GH-ISSUE #97] Could not compile hackernews_tui due to errors #26

Closed
opened 2026-03-14 12:26:22 +03:00 by kerem · 2 comments
Owner

Originally created by @zakwanhisham on GitHub (Oct 9, 2023).
Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/97

Hi,I tried to installed hackernews_tui using cargo but it gave out compilation error.

Here are the my prompt:

cargo install hackernews_tui

Here are some of the error:

expected `toml::value::Value`, found `toml::Value`

On my machine, I use rust nightly. I attached here the image of some of the error. Thank you.

image

Originally created by @zakwanhisham on GitHub (Oct 9, 2023). Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/97 Hi,I tried to installed `hackernews_tui` using cargo but it gave out compilation error. Here are the my prompt: ```sh cargo install hackernews_tui ``` Here are some of the error: ```sh expected `toml::value::Value`, found `toml::Value` ``` On my machine, I use rust nightly. I attached here the image of some of the error. Thank you. ![image](https://github.com/aome510/hackernews-TUI/assets/94990170/f5bd7e20-013e-4df2-9d22-10c2fa03d76f)
kerem closed this issue 2026-03-14 12:26:36 +03:00
Author
Owner

@aome510 commented on GitHub (Oct 9, 2023):

I think it's because of recent dependency upgrade. Can you try

cargo install hackernews_tui --locked
<!-- gh-comment-id:1753176680 --> @aome510 commented on GitHub (Oct 9, 2023): I think it's because of recent dependency upgrade. Can you try ``` cargo install hackernews_tui --locked ```
Author
Owner

@zakwanhisham commented on GitHub (Oct 10, 2023):

Hi, thank you for the reply. I have installed using the method you suggest and I also make a pr on the README.md changes. I mark this issue as solve. Once again, thank you

<!-- gh-comment-id:1754161694 --> @zakwanhisham commented on GitHub (Oct 10, 2023): Hi, thank you for the reply. I have installed using the method you suggest and I also make a pr on the README.md changes. I mark this issue as solve. Once again, thank you
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hackernews-TUI#26
No description provided.