-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Invalid value used as weak map key, in get() with canary #14557
Comments
I am not quite sure why yet, but we have a When running When running A quick tour through the stack on ember-canary.travis-ci.org and the Ember codebase makes me think, that it is related to these references to |
hmm, well that |
What y'all are doing seems fine, I was just doing a brain dump of my findings after a debugging session. |
@backspace if you |
It’s true, excellent, thank you! Sadly I’m getting another |
Hey, I’ve been trying out the Ember beta and canary versions with
travis-web
and getting a WeakMap error. When I run withcanary
inbower.js
in Chrome 56, I get this stacktrace:Similar errors happen with Safari, Firefox, and Chrome 53.
This can be reproduced with the repository running locally with
beta
orcanary
as the Ember version inbower.json
. When I enable pausing on exceptions, I see that theget
is on a property key ofconfig
:I’ve been working on permanent beta and canary production environment deployments of Ember, which are failing differently with this error:
The presence of
config
there makes me wonder if they’re somehow related though, but the stack trace is pretty different:Production canary stacktrace
``` r (ember.prod.js:20058) t.compute (ember.prod.js:13338) t.value (ember.prod.js:13213) t.compute (ember.prod.js:13376) t.value (ember.prod.js:13213) e.value (ember.prod.js:47770) e.initialize (ember.prod.js:41539) e.peek (ember.prod.js:41513) t.evaluate (ember.prod.js:46085) e.execute (ember.prod.js:50289) d (ember.prod.js:49863) render (ember.prod.js:10524) h (ember.prod.js:10477) e._renderRoots (ember.prod.js:10787) e._renderRootsTransaction (ember.prod.js:10825) e._renderRoot (ember.prod.js:10746) e._appendDefinition (ember.prod.js:10659) e.appendOutletView (ember.prod.js:10642) invoke (ember.prod.js:326) flush (ember.prod.js:396) flush (ember.prod.js:520) end (ember.prod.js:590) run (ember.prod.js:713) join (ember.prod.js:735) l.join (ember.prod.js:20411) (anonymous function) (ember.prod.js:20474) l (jquery.js:3187) fireWith (jquery.js:3317) ready (jquery.js:3536) a (jquery.js:3552) ```I’m not familiar with this code so I haven’t gotten anywhere with trying to debug. Let me know if there’s any additional information I can provide.
The text was updated successfully, but these errors were encountered: