Skip to content

Next.js is failing, I don't know why #565

Closed Answered by BMCwebdev
BMCwebdev asked this question in Q&A
Discussion options

You must be logged in to vote

What worked for me.

  • Moving token file out of component library and into token library. Though it seems that stylex.js files should work alongside the component file. I'll have to do some more testing to figure out, but for this week I need to work on other tickets and at least this is working for now. I'll take the win.
  • Make sure that token file has alongside it a d.ts file. Completely copy the Open Props demo pattern. I skipped this part when trying to debug quickly.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@BMCwebdev
Comment options

Answer selected by BMCwebdev
Comment options

nmn
May 8, 2024
Collaborator

You must be logged in to vote
0 replies
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