perl-carton / carton

Bundler or pip freeze for Perl
http://search.cpan.org/dist/carton
Other
494 stars 95 forks source link

carton install --deployment fails #262

Open KES777 opened 4 years ago

KES777 commented 4 years ago

I have cpanfile.snapshot when when I deploy, the installation fails:

Successfully installed DBICx-TestDatabase-0.05
Successfully installed DBIx-Class-InflateColumn-FS-0.01007
Successfully installed DBIx-Class-Fixtures-1.001039
! Couldn't find module or a distribution Cpanel::JSON::XS (2.3310)
! Installing the dependencies failed: Module 'Cpanel::JSON::XS' is not installed
! Bailing out the installation for JSON-MaybeXS-1.004000.
Successfully installed Path-Tiny-0.108
Successfully installed Path-IsDev-1.001003
Successfully installed Path-FindDev-v0.5.3
Successfully installed File-ShareDir-ProjectDistDir-1.000009
Successfully installed MooX-Attribute-ENV-0.02
Successfully installed PerlIO-utf8_strict-0.007
Successfully installed Mixin-Linewise-0.108
Successfully installed Config-INI-0.025
Successfully installed Config-MySQL-0.02
! Installing the dependencies failed: Module 'JSON::MaybeXS' is not installed
! Bailing out the installation for DBIx-Class-Migration-0.074.
Successfully installed TimeDate-2.30
Successfully installed MailTools-2.21
Successfully installed IO-Socket-IP-0.39 (upgraded from 0.37)
Successfully installed Net-DNS-1.21

Is this because of some dynamic check at JSON-MaybeXS?

KES777 commented 4 years ago

cpanfile.snapshot.zip

brunoramoslu commented 1 year ago

Cannot reproduce this locally (Ubuntu+Perl 5.36.0) with carton v1.0.35.