Uncaught Error: Assertion Failed: A computed property key must be a string, you passed undefined undefined
See original GitHub issueI’m receiving this error after upgrading and unsure how to resolve it.
ember 3.11.1
ember-cli-babel 7.12.0
ember-concurrency 1.1.0
Uncaught Error: Assertion Failed: A computed property key must be a string,
you passed undefined undefined
I’ve tried different ways of writing the task based on comments in https://github.com/machty/ember-concurrency/issues/283, but I keep getting same error.
code:
@(task(function* (queryString, options, Client=CrossStorageClient) {
...
}))
_connect;
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
EmberJS - Assertion Failed: computed expects a function or ...
In your example you're trying to set columns and data as two arrays on your controller. The columns looks to be done right,...
Read more >Assertion Failed: The key provided to set must be a string, you ...
I have a {{link-to}} that passes an ID to the detalhes.js route. This route findRecord my model passing the {{link-to}} ID.
Read more >[Solved]-How to test an Ember model's computed property that has ...
I found this question looking for 'how to unit test a computed property that uses a ... They key here is to reopen...
Read more >The 8 Most Common Mistakes That Ember.js Developers Make
Common Mistake No. 2: Forgetting That Route-driven Controllers Are Singletons. Routes in Ember.js set up properties on controllers that serve as the context...
Read more >PHP 7 ChangeLog
Fixed bug #79779 (Assertion failure when assigning property of string offset by ... Fixed bug #79364 (When copy empty array, next key is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ember-cli-dependency-lint
can guard against this.@buschtoens thank you, hadn’t used that before but seems very helpful!