question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught Error: Assertion Failed: A computed property key must be a string, you passed undefined undefined

See original GitHub issue

I’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:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
buschtoenscommented, Nov 4, 2019

ember-cli-dependency-lint can guard against this.

0reactions
hoIIercommented, Nov 5, 2019

@buschtoens thank you, hadn’t used that before but seems very helpful!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found