coffee-tools / coffee

Reference implementation for a flexible core lightning plugin manager
https://docs.page/coffee-tools/coffee
9 stars 13 forks source link

Compilation Errors: Cannot Find derive macro Parser and clap Attribute #215

Closed royalpinto007 closed 9 months ago

royalpinto007 commented 9 months ago

I encountered compilation errors while trying to install coffee_httpd. The errors seem to be related to the use of the clap crate and the Parser trait.

Command used: cargo install --path coffee_httpd

Below is a summary of the errors:

error: cannot find derive macro `Parser` in this scope
error: cannot find attribute `clap` in this scope
error[E0599]: no function or associated item named `parse` found for struct `HttpdArgs` in the current scope

error: could not compile `coffee_httpd` (bin "coffee_httpd") due to 10 previous errors; 1 warning emitted
error: failed to compile `coffee_httpd v0.1.0 (/home/royalpinto007/coffee/coffee_httpd)`, intermediate artifacts can be found at `/home/royalpinto007/coffee/target`
royalpinto007 commented 9 months ago

The issue is resolved, thanks @tareknaser!