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

undefined is not an object (evaluating 'p.$$.context') #6871

Closed
xiaoxiaosaohuo opened this issue Oct 22, 2021 · 4 comments
Closed

undefined is not an object (evaluating 'p.$$.context') #6871

xiaoxiaosaohuo opened this issue Oct 22, 2021 · 4 comments

Comments

@xiaoxiaosaohuo
Copy link

xiaoxiaosaohuo commented Oct 22, 2021

Describe the bug

have an error in sentry monitor dashboard, the error stacks show it happens at
{snip} pdate:[],after_update:[],context:new Map(n.context||(p?p.$$.context:[])),callbacks:r(),dirty:l,skip_bound:!1,root:n.target||p.$$.root};u&&u( {snip}

in source code is context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),,

Reproduction

can not reproduction

Logs

`{snip} pdate:[],after_update:[],context:new Map(n.context||(p?p.$$.context:[])),callbacks:r(),dirty:l,skip_bound:!1,root:n.target||p.$$.root};u&&u( {snip}`

System Info

Mozilla/5.0 (iPhone; CPU iPhone OS 15_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148

Severity

annoyance

@Conduitry
Copy link
Member

There's nothing anyone can help with if you don't provide a reproduction.

@xiaoxiaosaohuo
Copy link
Author

I can not reproduction it , but could you give me some tips about how it happend? @Conduitry

@Goutam192002
Copy link

Hey were you able to fix this? I'm facing the same error. @xiaoxiaosaohuo

@baseballyama
Copy link
Member

@Goutam192002

If you need help, you need to provide reproduction.
Otherwise, we can not analyze it and help you.

You can create REPL from here.
https://svelte.dev/repl/hello-world?version=3.48.0

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

No branches or pull requests

4 participants