Skip to content
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

Element descriptor's .kind property "undefined" on Ember 3.6 #3

Closed
danieledraganti opened this issue Dec 20, 2018 · 3 comments · Fixed by #4
Closed

Element descriptor's .kind property "undefined" on Ember 3.6 #3

danieledraganti opened this issue Dec 20, 2018 · 3 comments · Fixed by #4

Comments

@danieledraganti
Copy link

Hey there,
Just reporting a problem with lazy-mount on a freshly updated Ember 3.6 application. Using the standard ember-engines {{mount}} on a non-lazy loaded engine, I get no errors. Using {{lazy-mount}}, though, I get this:

[Error] TypeError: An element descriptor's .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "undefined"
	_toElementDescriptor (vendor.js:211257:315)
	_toElementFinisherExtras (vendor.js:211259:89)
	_decorateElement (vendor.js:211249:364)
	(funzione anonima) (vendor.js:211245:383)
	forEach
	_decorateClass (vendor.js:211245:252)
	_decorate (vendor.js:211227:197)
	(funzione anonima) (vendor.js:211285)
	exports (vendor.js:111)
	_reify (vendor.js:148)
	reify (vendor.js:135)
	exports (vendor.js:109)
	requireModule (vendor.js:32)
	_extractDefaultExport (vendor.js:221754)
	resolveOther (vendor.js:221433)
	resolve (vendor.js:221495)
	resolve (vendor.js:32926)
	resolve (vendor.js:32556)
	resolve (vendor.js:32558)
	factoryFor (vendor.js:32213)
	lookupComponentPair (vendor.js:58709)
	_lookupComponentDefinition (vendor.js:40054)
	lookupComponentHandle (vendor.js:39920)
	refineBlockSyntax (vendor.js:39781)
	compile (vendor.js:66820)
	compileBlock (vendor.js:67260)
	compileBlock (vendor.js:67624)
	(funzione anonima) (vendor.js:66691)
	compile (vendor.js:66569)
	compile (vendor.js:67127)
	compile (vendor.js:67100)
	getLayout (vendor.js:36588)
	(funzione anonima) (vendor.js:70522)
	evaluate (vendor.js:69516)
	evaluateSyscall (vendor.js:71656)
	evaluateInner (vendor.js:71630)
	evaluateOuter (vendor.js:71623)
	next (vendor.js:73120)
	execute (vendor.js:73110)
	handleException (vendor.js:72275)
	handleException (vendor.js:72398)
	throw (vendor.js:72222)
	evaluate (vendor.js:70031)
	execute (vendor.js:72209)
	rerender (vendor.js:72413)
	runInTransaction (vendor.js:41509)
	runInTransaction
	_renderRoots (vendor.js:37592:91)
	_renderRootsTransaction (vendor.js:37623)
	_revalidate (vendor.js:37659)
	invoke (vendor.js:74152)
	flush (vendor.js:74073)
	flush (vendor.js:74225)
	_end (vendor.js:74655)
	end (vendor.js:74458)
	_run (vendor.js:74698)
	(funzione anonima) (vendor.js:163674)
	fire (vendor.js:24559)
	fireWith (vendor.js:24689)
	done (vendor.js:30596)
	(funzione anonima) (vendor.js:30839)

Anyone else experiencing this?

Thanks.

@buschtoens
Copy link
Owner

What version of ember-cli-babel, @ember-decorators/babel-transforms and ember-cli-typescript are you using?

@danieledraganti
Copy link
Author

danieledraganti commented Dec 20, 2018

"ember-cli-babel": "^7.2.0",
"@ember-decorators/babel-transforms@^3.1.5",
"ember-cli-typescript@2.0.0-rc.1".
Last two are not in my main package.json, but are sub-dependencies from who knows which packages.

@buschtoens
Copy link
Owner

Alright, thank you! I'll take a look soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants