[Bug] SyntaxError: Invalid flags supplied to RegExp constructor (copilot could not start)
- Dominant language
- No language data
- Stars
- 2.1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
### Short summary
GitHub Copilot could not start
### Affected version or release
v1.0.10
### Installation context
macOS Ventura 13.5;Intel Core i7
### What happened?
GitHub Copilot Desktop fails to start with an error modal: "GitHub Copilot could not start - SyntaxError: Invalid flags supplied to RegExp constructor"
### Steps to reproduce
1. Launch GitHub Copilot Desktop.
2. The application fails to load and pops up the "GitHub Copilot could not start" error window.
### Expected behavior
The application should initialize and launch the main UI correctly.
### Additional context
Contributor guide
Research direction
Start by reproducing the failure from the app launch entry point on macOS Ventura 13.5 with v1.0.10 on Intel, and capture the startup error details behind the modal. The work is done when GitHub Copilot Desktop initializes and opens its main UI without the invalid RegExp flags error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100