Using third-party LWC libraries inevitably involves dealing with the security restrictions imposed by Lightning Web Security (LWS) and Lightning Locker. This is especially true for libraries bundled with tools like Browserify. To help navigate these challenges, you can refer to this article, which outlines the most common obstacles and how to overcome them - https://medium.com/@ansukhetskyi/use-third-party-javascript-code-with-lightning-web-components-15f1bc89f839?source=friends_link&sk=343fca7f31975cedcad99562ca74ae50
See you soon!