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

[ERROR] Could not resolve "styled-components" on install via yarn in vite #361

Open
aszenz opened this issue Apr 3, 2024 · 1 comment
Open

Comments

@aszenz
Copy link

aszenz commented Apr 3, 2024

✘ [ERROR] Could not resolve "styled-components"

node_modules/@kanaries/graphic-walker/dist/graphic-walker.es.js:8:45:
  8 │ import or, { StyleSheetManager as R5e } from "styled-components";
    ╵                                              ~~~~~~~~~~~~~~~~~~~

You can mark the path "styled-components" as external to exclude it from the bundle, which > will
remove this error and leave the unresolved path in the bundle.

Manually installinng the pkg fixes the issue

@aszenz
Copy link
Author

aszenz commented Apr 3, 2024

@kanaries/graphic-walker@0.4.59" has unmet peer dependency "styled-components@^5.3.6".

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

1 participant