0

In my react application, I have an import module statement like this.

import { S3 } from "@aws-sdk/client-s3"

However, in Firefox I cannot load the application as it returns the below error.

SyntaxError: invalid regexp group

This is not an issue in other browsers.

I found out that the above import statement returns this error. I believe this due to "@" sign. Any idea to resolve this?

Thilina Nakkawita
  • 1,382
  • 4
  • 19
  • 33

0 Answers0