Skip to content

Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'parent_component.$$') #4

Open
@petershaw

Description

@petershaw

As soon as I add

    <Auth scopes={['read']} on:authenticated={getUserName}>
        <div slot="loading">Loading...</div>
        <div slot="error" let:error>{error.message}</div>
        Hello {username}!
    </Auth>

From the example I get an error:

[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'parent_component.$$')
	construct_svelte_component_dev (bundle.js:540)
	update (bundle.js:840)
	update (bundle.js:1007)
	update$1 (bundle.js:245)
	flush$1 (bundle.js:212)
	promiseReactionJob
```

Does it work with current Svelte? `^3.53.1`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions