question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing Emotion error / Instead get Utopia Error: ScenePath is not provided for Card

See original GitHub issue

Here’s another (broken) project. It should fail because the styledComponent is using a component that’s defined after it is declared in the file.

Codesandbox here shows:

You are trying to create a styled element with an undefined component.
You may have forgotten to import it.

Utopia here instead shows:

Error: Utopia Error: ScenePath is not provided for Card

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
maltenuhncommented, Jun 2, 2021

Uh oh. Yeah, (1) seems like the best option here…

0reactions
balazsbajoricscommented, Jun 2, 2021

oh hum fun fact, the linter was triggered by Monaco Wrapper and we never set up the trigger with VSCode… I might as well bring back the errors tab while fixing this…

Read more comments on GitHub >

github_iconTop Results From Across the Web

you are trying to create a styled element with an undefined ...
I get the Cannot create styled-component for component: undefined error when I try to ... Error: Utopia Error: ScenePath is not provided for...
Read more >
Module not found: Can't resolve '@emotion/react'
I want to install neumorphism-react package. But I got this error. Module not found: Can ...
Read more >
Emotion versioning · Issue #522 · doczjs/docz
Bug Report Emotion version seems to be inconsistent I'm getting import errors in npm around @emotion/, specifically some referenced classes.
Read more >
How to Deal With Missing Someone
This article discusses why you might be missing someone and how to deal with all of the emotions that accompany the feeling of...
Read more >
17 Things to Do When You Miss Someone
Whatever the situation is, we've got tips to help you get through it. ... Sometimes, you can solve the problem of missing someone...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found