-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Getting these errors when I try to install this module.
Please tell me what I need to do to correct this.
bill
...
Manifying 23 pod documents
SHERRARDB/Net-Stripe-0.42.tar.gz
/usr/bin/make -- OK
Running make test for SHERRARDB/Net-Stripe-0.42.tar.gz
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/.t
"my" variable $h masks earlier declaration in same scope at /usr/share/perl5/HTTP/Headers.pm line 184.
Can't call method "add_attribute" on an undefined value at /usr/local/share/perl/5.30.0/Moo/HandleMoose.pm line 172.
Compilation failed in require at /home/coacho/.cpan/build/Net-Stripe-0.42-1/blib/lib/Net/Stripe.pm line 28.
BEGIN failed--compilation aborted at /home/coacho/.cpan/build/Net-Stripe-0.42-1/blib/lib/Net/Stripe.pm line 28.
Compilation failed in require at t/live.t line 7.
BEGIN failed--compilation aborted at t/live.t line 7.
t/live.t ...
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
"my" variable $h masks earlier declaration in same scope at /usr/share/perl5/HTTP/Headers.pm line 184.
Failed test 'use Net::Stripe;'
at t/local.t line 12.
Tried to use 'Net::Stripe'.
Error: Can't call method "add_attribute" on an undefined value at /usr/local/share/perl/5.30.0/Moo/HandleMoose.pm line 172.
Compilation failed in require at /home/coacho/.cpan/build/Net-Stripe-0.42-1/blib/lib/Net/Stripe.pm line 28.
BEGIN failed--compilation aborted at /home/coacho/.cpan/build/Net-Stripe-0.42-1/blib/lib/Net/Stripe.pm line 28.
Compilation failed in require at t/local.t line 12.
BEGIN failed--compilation aborted at t/local.t line 12.
Failed test 'invalid api_version format'
at t/local.t line 24.
expecting: Regexp ((?^:of the form yyyy-mm-dd))
found: normal exit
Failed test 'invalid api_version format'
at t/local.t line 24.
expecting: Regexp ((?^:of the form yyyy-mm-dd))
found: normal exit
Failed test 'report invalid api_version'
at t/local.t line 44.
Undefined subroutine &Net::Stripe::_hash_to_object called at t/local.t line 88.
Tests were run but no plan was declared and done_testing() was not seen.
Looks like your test exited with 255 just after 5.
t/local.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/5 subtests
Test Summary Report
t/live.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/local.t (Wstat: 65280 Tests: 5 Failed: 5)
Failed tests: 1-5
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=2, Tests=5, 2 wallclock secs ( 0.02 usr 0.00 sys + 1.63 cusr 0.09 csys = 1.74 CPU)
Result: FAIL
Failed 2/2 test programs. 5/5 subtests failed.
make: *** [Makefile:958: test_dynamic] Error 255
SHERRARDB/Net-Stripe-0.42.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SHERRARDB/Net-Stripe-0.42.tar.gz