Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

So, it's been a while since I used Dist::Zilla last and so I tried to start a new project with it this morning and it spewed all over itself. What in the world are these errors trying to tell me and what am I supposed to do to fix things?

dzil new RPG::Starmap 'Dist::Zilla::Role::File' requires the methods 'encoded_content' and ' +encoding' to be implemented by 'Dist::Zilla::File::Generated' at /usr +/local/lib/perl/5.14.2/Moose/ line 34 Moose::Exception::_build_trace('Moose::Exception::RequiredMeth +odsNotImplementedByClass=HASH(0x1de5f08)') called at reader Moose::Ex +ception::trace (defined at /usr/local/lib/perl/5.14.2/Moose/Exception line 6) line 7 Moose::Exception::trace('Moose::Exception::RequiredMethodsNotI +mplementedByClass=HASH(0x1de5f08)') called at /usr/local/lib/perl/5.1 +4.2/Moose/ line 46 Moose::Exception::BUILD('Moose::Exception::RequiredMethodsNotI +mplementedByClass=HASH(0x1de5f08)', 'HASH(0x1dce968)') called at /usr +/local/lib/perl/5.14.2/Class/MOP/ line 123 Class::MOP::Method::execute('Moose::Meta::Method=HASH(0x1e52ed +8)', 'Moose::Exception::RequiredMethodsNotImplementedByClass=HASH(0x1 +de5f08)', 'HASH(0x1dce968)') called at /usr/local/lib/perl/5.14.2/Moo +se/ line 52 Moose::Object::BUILDALL('Moose::Exception::RequiredMethodsNotI +mplementedByClass=HASH(0x1de5f08)', 'HASH(0x1dce968)') called at /usr +/local/lib/perl/5.14.2/Moose/Meta/ line 278 Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x1dfa +6f8)', 'HASH(0x1dce968)') called at /usr/local/lib/perl/5.14.2/Moose/ line 23 Moose::Object::new('Moose::Exception::RequiredMethodsNotImplem +entedByClass', 'class_name', 'Dist::Zilla::File::Generated', 'role_na +me', 'Dist::Zilla::Role::File', 'missing_methods', 'ARRAY(0x12236c8)' +) called at /usr/local/lib/perl/5.14.2/Moose/ line 49 Moose::Util::throw_exception('RequiredMethodsNotImplementedByC +lass', 'class_name', 'Dist::Zilla::File::Generated', 'role_name', 'Di +st::Zilla::Role::File', 'missing_methods', 'ARRAY(0x12236c8)') called + at /usr/local/lib/perl/5.14.2/Moose/Meta/Role/Application/ + line 104 Moose::Meta::Role::Application::ToClass::check_required_method +s('Moose::Meta::Role::Application::ToClass=HASH(0x1de61f0)', 'Moose:: +Meta::Role=HASH(0x1dce650)', 'Moose::Meta::Class=HASH(0x1db7970)') ca +lled at /usr/local/lib/perl/5.14.2/Moose/Meta/Role/ lin +e 51 Moose::Meta::Role::Application::apply('Moose::Meta::Role::Appl +ication::ToClass=HASH(0x1de61f0)', 'Moose::Meta::Role=HASH(0x1dce650) +', 'Moose::Meta::Class=HASH(0x1db7970)') called at /usr/local/lib/per +l/5.14.2/Moose/Meta/Role/Application/ line 32 Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::R +ole::Application::ToClass=HASH(0x1de61f0)', 'Moose::Meta::Role=HASH(0 +x1dce650)', 'Moose::Meta::Class=HASH(0x1db7970)', 'HASH(0x1dea400)') +called at /usr/local/lib/perl/5.14.2/Moose/Meta/ line 471 Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x1dce650)', +'Moose::Meta::Class=HASH(0x1db7970)') called at /usr/local/lib/perl/5 +.14.2/Moose/ line 172 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x1db79 +70)', undef, 'Dist::Zilla::Role::File') called at /usr/local/lib/perl +/5.14.2/Moose/ line 114 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x1db797 +0)', 'Dist::Zilla::Role::File') called at /usr/local/lib/perl/5.14.2/ line 59 Moose::with('Moose::Meta::Class=HASH(0x1db7970)', 'Dist::Zilla +::Role::File') called at /usr/local/lib/perl/5.14.2/Moose/ + line 408 Moose::with('Dist::Zilla::Role::File') called at /usr/local/sh +are/perl/5.14.2/Dist/Zilla/File/ line 36 require Dist/Zilla/File/ at /usr/local/share/perl/ +5.14.2/Dist/Zilla/Plugin/Web/ line 13 Dist::Zilla::Plugin::Web::Bundle::BEGIN at /usr/local/share/pe +rl/5.14.2/Dist/Zilla/File/ line 0 eval {...} at /usr/local/share/perl/5.14.2/Dist/Zilla/File/Gen line 0 require Dist/Zilla/Plugin/Web/ at /usr/local/share/pe +rl/5.14.2/Dist/Zilla/App/Command/ line 12 Dist::Zilla::App::Command::bundle::BEGIN at /usr/local/share/p +erl/5.14.2/Dist/Zilla/File/ line 0 eval {...} at /usr/local/share/perl/5.14.2/Dist/Zilla/File/Gen line 0 require Dist/Zilla/App/Command/ at /usr/local/share/p +erl/5.14.2/Module/ line 317 Module::Runtime::require_module('Dist::Zilla::App::Command::bu +ndle') called at /usr/local/share/perl/5.14.2/Class/ line 180 Class::Load::try {...} at /usr/local/share/perl/5.14.2/Try/Ti line 76 eval {...} at /usr/local/share/perl/5.14.2/Try/ line 72 Try::Tiny::try('CODE(0x1dab9c8)', 'Try::Tiny::Catch=REF(0x1a96 +200)') called at /usr/local/share/perl/5.14.2/Class/ line 186 Class::Load::try_load_class('Dist::Zilla::App::Command::bundle +', undef) called at /usr/local/share/perl/5.14.2/Class/ line 4 +1 Class::Load::load_class('Dist::Zilla::App::Command::bundle') c +alled at /usr/local/share/perl/5.14.2/App/ line 98 App::Cmd::_command('Dist::Zilla::App', undef) called at /usr/l +ocal/share/perl/5.14.2/App/ line 72 App::Cmd::new('Dist::Zilla::App') called at /usr/local/share/p +erl/5.14.2/App/ line 203 App::Cmd::run('Dist::Zilla::App') called at /usr/local/bin/dzi +l line 15 Compilation failed in require at /usr/local/share/perl/5.14.2/Dist/Zil +la/Plugin/Web/ line 13. BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Dist +/Zilla/Plugin/Web/ line 13. Compilation failed in require at /usr/local/share/perl/5.14.2/Dist/Zil +la/App/Command/ line 12. BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Dist +/Zilla/App/Command/ line 12. Compilation failed in require at /usr/local/share/perl/5.14.2/App/Cmd. +pm line 98. App::Cmd::_command("Dist::Zilla::App", undef) called at /usr/l +ocal/share/perl/5.14.2/App/ line 72 App::Cmd::new("Dist::Zilla::App") called at /usr/local/share/p +erl/5.14.2/App/ line 203 App::Cmd::run("Dist::Zilla::App") called at /usr/local/bin/dzi +l line 15

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; Blog: Warning: No political correctness allowed.

In reply to Dist::Zilla spewing flames... by blue_cowdawg

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2023-06-06 23:35 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (29 votes). Check out past polls.