sillsdev / sillsdev/languageforge-lexbox
can't redefine __APOLLO_CLIENT__ error in frontend
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
No idea where this came from. I left my computer running overnight, I think it went to sleep, one of my Firefox tabs was open to lexbox. 2 of them had this error
exception.message
can't redefine non-configurable property "__APOLLO_CLIENT__"
exception.stacktrace
@https://lexbox.org/project/sena-3:1:14888
@https://lexbox.org/project/sena-3:1:14990 @https://lexbox.org/project/sena-3:1:14994
there was only a single span coming from the svelte frontend client. I've pulled out all the attributes I think might be helpful for when the trace above goes away.
note: project code was changed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Svelte frontend client and the Honeycomb trace linked in the issue, then try reproducing the error in Firefox after leaving a Lexbox project tab open through sleep. Done means identifying why APOLLO_CLIENT is redefined and preventing the frontend error from recurring.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100