Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format json for scandeps fails to convert CPAN::Meta object #654

Open
abc-mikey opened this issue Nov 1, 2022 · 0 comments
Open

format json for scandeps fails to convert CPAN::Meta object #654

abc-mikey opened this issue Nov 1, 2022 · 0 comments

Comments

@abc-mikey
Copy link

Format json for scandeps fails to convert CPAN::Meta object as "neither allow_blessed, convert_blessed nor allow_tags settings are enabled".

$cpanm --scandeps --format=json Cpanel::JSON::XS
--> Working on Cpanel::JSON::XS
Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.32.tar.gz ... OK
Configuring Cpanel-JSON-XS-4.32 ... OK
encountered object 'CPAN::Meta=HASH(0x55a555ccfac0)', but neither allow_blessed, convert_blessed nor allow_tags settings are enabled (or TO_JSON/FREEZE method missing) at /usr/share/perl5/vendor_perl/App/cpanminus/script.pm line 2666.
$cpanm --version
cpanm (App::cpanminus) version 1.7045 (/usr/bin/cpanm)
perl version 5.034001 (/usr/bin/perl)
$perl -MJSON::PP -E 'say "JSON::PP~$JSON::PP::VERSION"'
JSON::PP~4.06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant