'Japanese parser not working in react native

I am trying to get a list of words from a japanese text string using the package https://www.npmjs.com/package/kuromojin in react native on expo but after doing npm install kuromojin and using the code of the package I get this error

enter image description here

I don't see any reason for which I coudn't use it in an expo app despite seeing it working in a simple node project.

I also have the error message could not get batchedbridge make sure your bundle is packaged correctly.

Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source