Dancer
Dancer copied to clipboard
core - serializer - JSON is needed and is not installed at /usr/share/perl5/Dancer/Serializer.pm line 33.
Get this strange error, I'm running ubuntu 16.04, all dancer package are come from the official repository, JSON is installed, not sure where Dancer load the JSON module? Any hint would be appreciate. It used to work, I really can't find out what is the problem now.
$ perl bin/app.p
core - serializer - JSON is needed and is not installed at /usr/share/perl5/Dancer/Serializer.pm line 33.
Compilation failed in require at bin/app.pl line 3.
BEGIN failed--compilation aborted at bin/app.pl line 3.
Recursive inheritance detected in package 'Types::Serialiser::BooleanBase' at bin/app.pl line 3 during global destruction.
$ perldoc -lm JSON
/usr/share/perl5/JSON.pm
If I add "use JSON;" into /usr/share/perl5/Dancer/Serializer.pm, it start to work...