Try this code out now by running
$ frida --codeshare Nriver/${projectSlug} -f YOUR_BINARY
Fingerprint: 873d7a3030c45bba0664c91be5cee935fb08e37988eb757b96a6dcb10dcc7cb2
${errorMsg}