Skip to content

Cannot import token function from recipe #2587

Answered by segunadebayo
peterbartels asked this question in Q&A
Discussion options

You must be logged in to vote

This is a circular import since the styled-system directory is auto-generated. Resolving the recipe depends on the token fn being generated, hence the issue.

I would recommend directly importing the token value from the source where it's defined.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by peterbartels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants