Hackthebox | Shield msfconsole error

Very good question why it doesnt work, i noticed you were using msf5 so maybe try using the normal first “msf” if you have it, since maybe this module requires some other modules only present in the first msf. Tried the same module with msf1 and it worked perfectly fine . not sure if that will solve your problem but i think you should try at least