Skip to content

Nuxt app not starting in Safari (Invalid regular expression: invalid group specifier name) #773

@stefandevo

Description

@stefandevo

I am not sure since what version of @servicestack/client but at since 1.0.31 and later a nuxt application using JsonServiceClient is blocked upon startup on Safari -> SyntaxError: Invalid regular expression: invalid group specifier name

Simple project setup:

  methods: {
    onClick: function() {
      let json = new JsonServiceClient();
    }
  }

Then use the dev npm script on Safari.

The browser opens, shows the spinning wheel, but hangs.
The console shows:

image

Can be found here:
https://github.com/stefandevo/ssclient_issue

Safari Mac Version 15.2 (17612.3.6.1.6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions