JJ / Raku-Doc-TypeGraph

Parse a description of the types for documentation.
Artistic License 2.0
0 stars 2 forks source link

No candidates found matching identity: Perl6::TypeGraph #16

Closed the-man-with-a-golden-mind closed 5 years ago

the-man-with-a-golden-mind commented 5 years ago

I am trying to install Perl6::TypeGraph by zef but there are no candidates matching identity like Perl6::TypeGraph.

perl6 -v results: This is Rakudo version 2018.12 built on MoarVM version 2018.12 implementing Perl 6.d.

JJ commented 5 years ago

@the-man-with-a-golden-mind can you please try zef search? The main problem is that zef underwent a major upgrade two months ago; main thing was that index URLs changed, since they disappeared. I would suggest you upgrade zef to the latest version; if that does not work, please come back to us.

the-man-with-a-golden-mind commented 5 years ago

I've tried "zef search" after "zef update" and it didn't find anything. After "zef update" I still can not install Perl6::TypeGraph. :(

JJ commented 5 years ago

zef update does not update zef. You have to explicitly do

zef update zef 

I think the correct version is 0.7.x; I have 0.7.4 and zef search Perl6::TypeGraph returns:

===> Found 3 results
-----------------------------------------------------------------------------------------------------
ID|From                            |Package                    |Description                          
-----------------------------------------------------------------------------------------------------
0 |Zef::Repository::LocalCache     |p6doc:ver<1.002001>        |Perl 6 documentation (tools and docs)
1 |Zef::Repository::Ecosystems<p6c>|p6doc:ver<1.003>           |Perl 6 documentation (tools and docs)
2 |Zef::Repository::Ecosystems<p6c>|Perl6::TypeGraph:ver<0.0.3>|Parse a type graph description file  
the-man-with-a-golden-mind commented 5 years ago

Are you sure that "zef update zef" is the right option?

I've tried that and I've got: "A plugin name was provided that does not exist or does not support 'update'"

"zef upgrade zef" gives me: "Unsure of how to handle the following distributions: zef:ver<0.7.4>:auth:api<0> All requested distributions are already at their latest versions "

JJ commented 5 years ago

Sorry, zef upgrade zef. But the error seems to indicate it's already at its latest version. Anyway, zef search should find something... even if only the version that was included within Perl6 doc. Can you please show the output to "zef search Per6::TypeGraph"? Another option is to clone this repo and do a zef install ., but that's plan B

the-man-with-a-golden-mind commented 5 years ago

zef install zef and then zef update solved my problems. Now I can install Perl6::TypeGraph. Thanks for your help :)