Hello!
I'm new to the node world. I have added the package with npm and imported it on a Ruby on Rails 6 application.
When loading the application I'm getting this error on the browser:
Uncaught SyntaxError: export declarations may only appear at top level of a module
I have read the debug and it seems to apply to this part of the code:
export default class extends class{constructor(e,t={},s={})
Is there a way to solve this?
Thanks in advance