Test are failed while installing Mojolicious::Plugin::OpenAPI
saintserge opened this issue · comments
Sergey Andreev commented
Hi!
I can't install Mojolicious::Plugin::OpenAPI.
Test's are failed:
Sergeys-MacBook-Pro-2:wf sergeyandreev$ mojo version
CORE
Perl (v5.32.1, darwin)
Mojolicious (9.17, Waffle)
OPTIONAL
Cpanel::JSON::XS 4.09+ (4.25)
EV 4.32+ (4.33)
IO::Socket::Socks 0.64+ (0.74)
IO::Socket::SSL 2.009+ (2.070)
Net::DNS::Native 0.15+ (0.22)
Role::Tiny 2.000001+ (2.002004)
Future::AsyncAwait 0.36+ (0.49)
This version is up to date, have fun!
JSON::Validator is up to date. (4.17)
PERL_DL_NONLAZY=1 "/perl5/perlbrew/perls/perl-5.32.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-basic.t ........................... ok
t/basic-404-501.t ...................... Can't locate object method "base_url" via package "JSON::Validator::Schema::OpenAPIv2" at /.cpanm/work/1619611402.18565/Mojolicious-Plugin-OpenAPI-4.03/blib/lib/Mojolicious/Plugin/OpenAPI.pm line 124.
t/basic-404-501.t ...................... Dubious, test returned 255 (wstat 65280, 0xff00)
Sergey Andreev commented
I think something wrong with my locally installed cpanm. cpm install module without any troubles.
Jan Henning Thorsen commented
Yeah, I thought that was very strange: https://metacpan.org/pod/release/JHTHORSEN/JSON-Validator-4.17/lib/JSON/Validator/Schema/OpenAPIv2.pm#base_url