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

core - serializer - JSON is needed and is not installed at /usr/share/perl5/Dancer/Serializer.pm line 33. #1170

Open
aaronsuns opened this issue Sep 29, 2017 · 1 comment

Comments

@aaronsuns
Copy link

aaronsuns commented Sep 29, 2017

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
@aaronsuns
Copy link
Author

If I add "use JSON;" into /usr/share/perl5/Dancer/Serializer.pm, it start to work...

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