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.

Task properties broken in canary

See original GitHub issue

this commit changes the signature of ComputedProperty’s constructor to accept an array, so this passes the wrong arguments and throws a TypeError: Found non-callable @@iterator exception (although for some reason in CI I saw Assertion Failed: A computed property key must be a string, you passed undefined undefined instead).

I’m happy to take a crack at a PR to fix this, but I’m unsure of how. I’ll leave a comment in that commit asking the core folks if they have a recommendation, but the only two options I can think of are:

  1. Base it an Ember version check (we’d want to verify that this will be released in Ember 3.8 first)
  2. Use try...catch to invoke it one way, and on failure, try to invoke it the other way (seems pretty sketchy).

Other ideas?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
lypborgescommented, Jun 20, 2019

@balinterdi I just run

rm yarn.lock 
rm -rf node_modules 
yarn install

and fix the problem.

2reactions
pzuraqcommented, Feb 11, 2019

Also, for how to be compatible with multiple versions at once, we should use ember-compatibility-helpers, since it checks the Ember version at build time which allows us to completely strip out the unused version for folks who aren’t using that version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Library functions available for Node.js canary scripts
Explains the built-in functions included in CloudWatch Synthetics that you can use to write your own canary scripts in Node.js.
Read more >
Canary Deployments - GitLab Docs
A popular Continuous Deployment strategy, where a small portion of the fleet is updated to the new version of your application.
Read more >
Canary: A Scheduling Architecture for High Performance ...
We present Canary, a scheduling architecture that allows high performance analytics workloads to scale out to run on thousands of cores. Canary is...
Read more >
Using canary blueprints - Amazon CloudWatch - 亚马逊云科技
Explains the details and use of each type of canary blueprint in Amazon CloudWatch ... Broken link checker canaries created using the syn-nodejs-2.0-beta ......
Read more >
The Comprehensive Guide to Providing a Great Guest ...
Property management systems are generally used by hotel staff to manage reservations and administrative tasks. A guest management system ...
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