I use catalyst.pl LolCatalyst::Lite command. But the project can't run, the error info as follows:

Couldn't instantiate component "LolCatalyst::Lite::Model::Auth", "Eith +er ->config->{connect_info} must be defined for LolCatalyst::Lite::Mo +del::Auth or LolCatalyst::Lite::Auth::Schema must have connect info d +efined on it. Here's what we got: $VAR1 = { 'schema_class' => 'LolCatalyst::Lite::Auth::Schema', '_original_class_name' => 'LolCatalyst::Lite::Model::Auth', 'catalyst_component_name' => 'LolCatalyst::Lite::Model::Auth +' };"Compilation failed in require at /usr/local/share/perl/5.14 +.2/Module/Runtime.pm line 317. at /usr/local/share/perl/5.14.2/Catalyst/Script/Server.pm line 240.

About two months ago, the same command generate a project can run properly. I find a different in Makefile.PL. The new project MakeFile.pl miss the following scropt:

requires 'Catalyst::Plugin::Authentication'; requires 'Catalyst::Plugin::Authorization::Roles'; requires 'Catalyst::Plugin::Session'; requires 'Catalyst::Plugin::Session::State::Cookie'; requires 'Catalyst::Plugin::Session::Store::FastMmap'; requires 'Catalyst::Authentication::Store::DBIx::Class'; requires 'Catalyst::Authentication::Credential::HTTP'; requires 'DBIx::Class::EncodedColumn';

Thanks any response!


In reply to Catalyst.pl generate project can't run! by Thai Heng

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.