Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dist::Zilla::Plugin::AutoPrereqs failing #2

Closed
mattp- opened this issue May 22, 2012 · 1 comment
Closed

Dist::Zilla::Plugin::AutoPrereqs failing #2

mattp- opened this issue May 22, 2012 · 1 comment

Comments

@mattp-
Copy link

mattp- commented May 22, 2012

Looks like use'ing MooX::Types::MooseLike::Base explicitly adds this module to the requires list in your makefile. That module is inside of MooX::Types::MooseLike . Explicitly having base causes cpan/m to install.

You can skip it in dist.ini with
[AutoPrereqs]
skip = ^MooX::Types::MooseLike

but I don't see how to manually add a new prerequisite. Maybe use'ing the base module if you wanted to keep using that dzil plugin.

Cheers,
Matt

@oalders
Copy link
Owner

oalders commented May 23, 2012

Thanks for this, Matt. I see what you mean:

cpanm HTML::Restrict
--> Working on HTML::Restrict
Fetching http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTML-Restrict-1.0.3.tar.gz ... OK
Configuring HTML-Restrict-1.0.3 ... OK
==> Found dependencies: MooX::Types::MooseLike::Base
--> Working on MooX::Types::MooseLike::Base
Fetching http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz ... FAIL
! Download http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz failed. Retrying ... 
! Download http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz failed. Retrying ... 
! Download http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz failed. Retrying ... 
! Failed to download http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz
! Failed to fetch distribution MooX-Types-MooseLike-0.03
! Bailing out the installation for HTML-Restrict-1.0.3. Retry with --prompt or --force.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants