Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: SyntaxError: Invalid regular expression: invalid group specifier name in Safari #19266

Closed
2 tasks done
alexef opened this issue Aug 8, 2023 · 6 comments
Closed
2 tasks done
Labels
bug Something isn't working help wanted Help/Contributions wanted from community members

Comments

@alexef
Copy link
Contributor

alexef commented Aug 8, 2023

📜 Description

Backstage suddenly stopped working in Safari.

More context in previous issue

👍 Expected behavior

Render correctly on Safari.

👎 Actual Behavior with Screenshots

It renders a blank page with the SyntaxError in the console.

👟 Reproduction steps

Start latest backstage in Safari.

📃 Provide the context for the Bug.

No response

🖥️ Your Environment

yarn backstage-cli info
yarn run v1.22.19
$ /Users/alex/work/stack/node_modules/.bin/backstage-cli info
OS:   Darwin 22.1.0 - darwin/arm64
node: v18.11.0
yarn: 1.22.19
cli:  0.22.9 (installed)
backstage:  1.16.0

Dependencies:
  @backstage/app-defaults                               1.4.1
  @backstage/backend-app-api                            0.4.5
  @backstage/backend-common                             0.18.5, 0.19.1
  @backstage/backend-dev-utils                          0.1.1
  @backstage/backend-plugin-api                         0.5.4
  @backstage/backend-tasks                              0.5.4
  @backstage/backend-test-utils                         0.1.39
  @backstage/catalog-client                             1.4.3
  @backstage/catalog-model                              1.4.1
  @backstage/cli-common                                 0.1.12
  @backstage/cli-node                                   0.1.2
  @backstage/cli                                        0.22.9
  @backstage/config-loader                              1.3.2
  @backstage/config                                     1.0.8
  @backstage/core-app-api                               1.9.0
  @backstage/core-components                            0.13.3
  @backstage/core-plugin-api                            1.5.3
  @backstage/dev-utils                                  1.0.17
  @backstage/errors                                     1.2.1
  @backstage/eslint-plugin                              0.1.3
  @backstage/integration-aws-node                       0.1.5
  @backstage/integration-react                          1.1.15
  @backstage/integration                                1.5.1
  @backstage/plugin-analytics-module-ga                 0.1.31
  @backstage/plugin-api-docs                            0.9.6
  @backstage/plugin-apollo-explorer                     0.1.13
  @backstage/plugin-app-backend                         0.3.47
  @backstage/plugin-auth-backend                        0.18.5
  @backstage/plugin-auth-node                           0.2.16
  @backstage/plugin-catalog-backend-module-aws          0.2.2
  @backstage/plugin-catalog-backend-module-github       0.3.2
  @backstage/plugin-catalog-backend-module-openapi      0.1.13
  @backstage/plugin-catalog-backend                     1.11.0
  @backstage/plugin-catalog-common                      1.0.15
  @backstage/plugin-catalog-graph                       0.2.32
  @backstage/plugin-catalog-import                      0.9.10
  @backstage/plugin-catalog-node                        1.4.0
  @backstage/plugin-catalog-react                       1.8.0
  @backstage/plugin-catalog                             1.12.0
  @backstage/plugin-events-backend-module-github        0.1.9
  @backstage/plugin-events-backend                      0.2.8
  @backstage/plugin-events-node                         0.2.8
  @backstage/plugin-explore-backend                     0.0.9
  @backstage/plugin-explore-common                      0.0.1
  @backstage/plugin-explore-react                       0.0.30
  @backstage/plugin-explore                             0.4.6
  @backstage/plugin-github-actions                      0.6.1
  @backstage/plugin-graphiql                            0.2.52
  @backstage/plugin-home-react                          0.1.1
  @backstage/plugin-home                                0.5.4
  @backstage/plugin-kubernetes-common                   0.6.5
  @backstage/plugin-org                                 0.6.10
  @backstage/plugin-permission-common                   0.7.7
  @backstage/plugin-permission-node                     0.7.10
  @backstage/plugin-permission-react                    0.4.14
  @backstage/plugin-proxy-backend                       0.2.41
  @backstage/plugin-scaffolder-backend                  1.15.1
  @backstage/plugin-scaffolder-common                   1.3.2
  @backstage/plugin-scaffolder-node                     0.1.5
  @backstage/plugin-scaffolder-react                    1.5.1
  @backstage/plugin-scaffolder                          1.14.1
  @backstage/plugin-search-backend-module-catalog       0.1.3
  @backstage/plugin-search-backend-module-elasticsearch 1.3.2
  @backstage/plugin-search-backend-module-explore       0.1.3
  @backstage/plugin-search-backend-module-pg            0.5.8
  @backstage/plugin-search-backend-module-techdocs      0.1.3
  @backstage/plugin-search-backend-node                 1.2.3
  @backstage/plugin-search-backend                      1.3.3
  @backstage/plugin-search-common                       1.2.5
  @backstage/plugin-search-react                        1.6.3
  @backstage/plugin-search                              1.3.3
  @backstage/plugin-techdocs-backend                    1.6.4
  @backstage/plugin-techdocs-module-addons-contrib      1.0.15
  @backstage/plugin-techdocs-node                       1.7.3
  @backstage/plugin-techdocs-react                      1.1.8
  @backstage/plugin-techdocs                            1.6.5
  @backstage/plugin-user-settings                       0.7.5
  @backstage/release-manifests                          0.0.9
  @backstage/test-utils                                 1.4.1
  @backstage/theme                                      0.2.19, 0.4.1
  @backstage/types                                      1.1.0
  @backstage/version-bridge                             1.0.4
✨  Done in 1.18s.

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

@alexef alexef added the bug Something isn't working label Aug 8, 2023
@benjdlambert
Copy link
Member

Can you find out what package this is coming from @alexf? And maybe get a stack trace from safari?

@Rugvip Rugvip added the help wanted Help/Contributions wanted from community members label Aug 10, 2023
@SwarlsBarkley01
Copy link

SwarlsBarkley01 commented Aug 14, 2023

Greetings, more context.

Reproduction steps

Start latest Backstage in Safari < 16.6, observed in Safari 16.3

Provide context for the bug

In Safari < 16.6 errors out in @backstage/core-components

Possibly in /src/components/Avatar/utils.ts

Possibly related to WebKit/WebKit#7109

Stack trace

Incoming - will update

Resolution - Safari

Update Safari to >= 16.6 -- included in Mac OS Ventura 13.5

Mitigation - Backstage

Set resolutions for @backstage/core-components to 0.13.2

"resolutions": {
    "@backstage/core-components": "0.13.2"
  },

@benjdlambert
Copy link
Member

@alexef can you try update safari to the latest version and see if that fixes your issues?

@alexef
Copy link
Contributor Author

alexef commented Aug 21, 2023

@benjdlambert not easy as I cannot yet switch to macOS 13.5

@alexef
Copy link
Contributor Author

alexef commented Aug 25, 2023

@benjdlambert confirmed to be working again after upgrading safari to 16.6

@benjdlambert
Copy link
Member

🎉 Nice! can we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Help/Contributions wanted from community members
Projects
None yet
Development

No branches or pull requests

5 participants