tokuhirom / plenv

Perl binary manager
Other
516 stars 71 forks source link

install-cpanm Fails: ERROR: Cannot find the tarball for perl-cpanm #178

Closed theory closed 2 years ago

theory commented 2 years ago
$ plenv global 5.36.0
$ plenv install cpanm
Installing cpanm as cpanm
/opt/homebrew/Cellar/perl/5.34.0/bin/perl -- /Users/david/.plenv/plugins/perl-build/bin/perl-build --symlink-devel-executables --build-dir /Users/david/.plenv/build/1655580740.22708/ --tarball-dir /Users/david/.plenv/cache/ -Dversiononly cpanm /Users/david/.plenv/versions/cpanm
[cpan_perl_releases] not found the tarball for perl-cpanm
[metacpan] not found the tarball for perl-cpanm
ERROR: Cannot find the tarball for perl-cpanm
syohex commented 2 years ago

You should do plenv install-cpanm, not plenv install cpanm. You missed a dash -

theory commented 2 years ago

🤦🏻 Sorry. I bet I've done this before