ember-inspector: Ember Inspector causing "Assertion Failed: Illegal set of identifier"
Describe the bug
After experiencing random cases of the Assertion Failed: Illegal set of identifier error I looked for any information and ended up on this StackOverflow question and more specifically this comment by HappyDude stating that this error can sometimes be caused by Ember Inspector.
I disabled Ember Inspector and it fixed the issue.
One element I can add is that the model causing the issue appeared twice in the inspector Data tab.
To Reproduce
I’m very sad and sorry not to be able to give any useful reproduction steps as it happens randomly.
Environment
Ember: 3.28.8 Ember Data: 3.28.6 Ember Inspector: 4.5.11 Firefox: 95.0.2 (64-bit) on a Mac
Taking the opportunity to thank all the team working on this otherwise wonderful tool that Ember Inspector is ❤️
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 13
- Comments: 17 (11 by maintainers)
burned a few hours trying to figure out the cause of this one as well 😦
it’s a bit of a double whammy because the tools you use to debug, like ember inspector, are the last thing you expect to be causing issues
fhis has been fixed now in ember and ember data. The ember data fix has also been backported. The fix in ember might also be required. If you still see this issue comment on https://github.com/emberjs/ember.js/pull/20127 for a backport
same for me, preconditions:
ember-data: 3.28.7 browser: chrome os: windows devtools open: true ember inspector open: true ember-data request: findRecord called in model hook
If I close chrome dev-tools, all works fine If I open chrom dev-tools, all works fine If I open chrom dev-tools on ember inspector page - I see issue after page reload