aome510 / hackernews-TUI

A Terminal UI to browse Hacker News
MIT License
560 stars 20 forks source link

Could not compile `hackernews_tui` due to errors #97

Closed zakwanhisham closed 12 months ago

zakwanhisham commented 12 months ago

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

aome510 commented 12 months ago

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

cargo install hackernews_tui --locked
zakwanhisham commented 12 months ago

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