Subject: | Can't locate Mojo/File.pm |
The test suite fails on some of my smokers, probably if an old Mojolicious version is installed:
...
# Failed test 'use Mojolicious::Command::scaffold;'
# at t/00-load.t line 10.
# Tried to use 'Mojolicious::Command::scaffold'.
# Error: Can't locate Mojo/File.pm in @INC (you may need to install the Mojo::File module) (@INC contains: /home/cpansand/.cpan/build/2020040112/Mojolicious-Command-scaffold-0.0.6-0/blib/lib /home/cpansand/.cpan/build/2020040112/Mojolicious-Command-scaffold-0.0.6-0/blib/arch /home/cpansand/.cpan/build/2020040112/mojo-console-v0.0.8-0/blib/arch /home/cpansand/.cpan/build/2020040112/mojo-console-v0.0.8-0/blib/lib /home/cpansand/.cpan/build/2020040112/db-sql-migrations-advanced-v0.0.4-0/blib/arch /home/cpansand/.cpan/build/2020040112/db-sql-migrations-advanced-v0.0.4-0/blib/lib /home/cpansand/.cpan/build/2020040112/mojo-console-v0.0.8-0/blib/arch /home/cpansand/.cpan/build/2020040112/mojo-console-v0.0.8-0/blib/lib /home/cpansand/.cpan/build/2020040112/db-sql-migrations-advanced-v0.0.4-0/blib/arch /home/cpansand/.cpan/build/2020040112/db-sql-migrations-advanced-v0.0.4-0/blib/lib /opt/perl-5.20.0/lib/site_perl/5.20.0/x86_64-linux /opt/perl-5.20.0/lib/site_perl/5.20.0 /opt/perl-5.20.0/lib/5.20.0/x86_64-linux /opt/perl-5.20.0/lib/5.20.0) at /home/cpansand/.cpan/build/2020040112/Mojolicious-Command-scaffold-0.0.6-0/blib/lib/Mojolicious/Command/scaffold.pm line 6.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2020040112/Mojolicious-Command-scaffold-0.0.6-0/blib/lib/Mojolicious/Command/scaffold.pm line 6.
# Compilation failed in require at t/00-load.t line 10.
# BEGIN failed--compilation aborted at t/00-load.t line 10.
Use of uninitialized value $Mojolicious::Command::scaffold::VERSION in concatenation (.) or string at t/00-load.t line 13.
# Looks like your test exited with 255 just after 1.
FAILED--Further testing stopped.
make: *** [test_dynamic] Error 255
...