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

Can't use an undefined value as a HASH reference #4

Open
Xord8664 opened this issue Aug 12, 2024 · 0 comments
Open

Can't use an undefined value as a HASH reference #4

Xord8664 opened this issue Aug 12, 2024 · 0 comments

Comments

@Xord8664
Copy link

Xord8664 commented Aug 12, 2024

Hi! Trying to start this script on my server with ubuntu 22. Actually I have it working on an other server with this OS but can't figure out what I'm doing wrong now. My steps:

  • apt update && apt install -y cpanminus libssl-dev libblas-dev gcc perl-openssl-defaults bzip2 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdigest-hmac-perl libdigest-md4-perl libdigest-sha-perl libdpkg-perl libencode-perl libfile-fcntllock-perl libio-socket-ssl-perl libipc-system-simple-perl libnet-ssleay-perl libnetaddr-ip-perl libsocket6-perl liburi-encode-perl
  • cd /home/chatbot/erebus/ && cpanm --installdeps .
  • cd /home/chatbot/Mojo-Discord/ && cpanm --installdeps .
  • cp -vr /home/chatbot/Mojo-Discord/lib/Mojo/* /home/chatbot/perl5/lib/perl5/Mojo/
  • export PERL5LIB=/home/chatbot/perl5/lib/perl5/
  • /home/chatbot/erebus/erebus.pl

apt install just for sure, but mb I need to install something else. Ofc config.yml changed and double checked. And I have this error at start:

Can't use an undefined value as a HASH reference at /home/chatbot/erebus/perl5/lib/perl5/Mojo/Discord/Gateway.pm line 259.

What did I miss? I have no clue in perl lang so it's very hard for me to traceback the issue. Can you help me please?

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