Skip to content

Uncaught SyntaxError: export declarations may only appear at top level of a module #13

@aiw3ndil

Description

@aiw3ndil

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions