This module is obsolete, see mod_s2s_bidi that is shipped with prosody since Version 0.12.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_bidi
For earlier versions see the documentation for installing 3rd party modules