Module parse failed error when mediasoup is imported in React Js app

Hi, i’m creating an app with media soup, in the client side when i import media soup client it doesnt work, this error appears:
Module parse failed You may need an appropriate loader to handle this file type. SyntaxError: Unexpected token (255:10) @ ./~/mediasoup-client/lib/index.js 32:17-36
This is an unusual error, I tried many solutions I found in forums, I provide more details about what I did here: reactjs - Module parse failed error when mediasoup is imported in React Js app - Stack Overflow