Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Expected router outlet to be a valid DOM Node #512

Closed
y2us opened this issue Apr 15, 2022 · 1 comment · Fixed by #516
Closed

Expected router outlet to be a valid DOM Node #512

y2us opened this issue Apr 15, 2022 · 1 comment · Fixed by #516

Comments

@y2us
Copy link

y2us commented Apr 15, 2022

On Firefox Ubuntu

I use npm start and then the content doesn't appear, only the menu.

Uncaught (in promise) TypeError: [Vaadin.Router] Expected router outlet to be a valid DOM Node (but got undefined)
__ensureOutlet router.js:752
__addAppearingContent router.js:786
ready router.js:498
promise callback*render router.js:469
attachRouter index.ts:29
firstUpdated app-index.ts:103
_$didUpdate reactive-element.ts:1350
performUpdate reactive-element.ts:1317
scheduleUpdate reactive-element.ts:1235
__enqueueUpdate reactive-element.ts:1207
requestUpdate reactive-element.ts:1182
_initialize reactive-element.ts:924
ReactiveElement reactive-element.ts:907
LitElement lit-element.js:82
AppIndex app-index.ts:18
legacyCustomElement custom-element.ts:21
customElement custom-element.ts:64
__decorateClass app-index.ts:7
app-index.ts:18
router.js:752:12
GEThttp://192.168.1.108:8000/src/pages/page-about.ts
[HTTP/1.1 304 Not Modified 1ms]

@abdonrd
Copy link
Member

abdonrd commented May 14, 2022

Sorry for the late response!
Looks like there is an issue in the latest @web/dev-server-esbuild.
PR fixing it: #516

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants