[email protected] masks errors with did not return a true value
#2117
Answered
by
MartinMcGrath
hussam-qasem
asked this question in
Q&A
-
I just upgraded to docker run --rm -it perl:5.38 bash cpanm Mojolicious
mojo generate app
perl -i -pe 's/^.*$/use Non::Existent;/ if $. == 3' my_app/lib/MyApp.pm
morbo my_app/script/my_app I get Web application available at http://127.0.0.1:3000
Can't load application from file "/usr/src/app/my_app/script/my_app": /usr/src/app/my_app/script/my_app did not return a true value at /usr/local/lib/perl5/site_perl/5.38.0/Mojo/Server.pm line 59. With Web application available at http://127.0.0.1:3000
Can't load application from file "/usr/src/app/my_app/script/my_app": Can't locate Non/Existent.pm in @INC (you may need to install the Non::Existent module) (@INC entries checked: /usr/src/app/my_app/lib /usr/local/lib/perl5/site_perl/5.38.0/x86_64-linux-gnu /usr/local/lib/perl5/site_perl/5.38.0 /usr/local/lib/perl5/vendor_perl/5.38.0/x86_64-linux-gnu /usr/local/lib/perl5/vendor_perl/5.38.0 /usr/local/lib/perl5/5.38.0/x86_64-linux-gnu /usr/local/lib/perl5/5.38.0) at /usr/src/app/my_app/lib/MyApp.pm line 3.
BEGIN failed--compilation aborted at /usr/src/app/my_app/lib/MyApp.pm line 3.
Compilation failed in require at (eval 139) line 1.
Compilation failed in require at (eval 138) line 1. |
Beta Was this translation helpful? Give feedback.
Answered by
MartinMcGrath
Oct 5, 2023
Replies: 1 comment
Answer selected by
hussam-qasem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #2110 & 852a759