The utility contains an invalid theme value and was not generated warning is causing Next to fail to build the project #3568
Unanswered
matagaralph
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting this warning but the project is the project fails to compile.
The utility
data-[slot=avatar]:*:[--avatar-radius:theme(borderRadius.DEFAULT)]contains an invalid theme value and was not generated. Failed to compile.
Stack Trace
/node_modules/.pnpm/@headlessui+react@1.7.19_react-dom@19.0.0-rc.1_react@19.0.0-rc.1__react@19.0.0-rc.1/node_modules/@headlessui/react/dist/utils/stable-collection.js
Attempted import error: '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' is not exported from 'react' (imported as 'r').
Import trace for requested module:
./node_modules/.pnpm/@headlessui+react@1.7.19_react-dom@19.0.0-rc.1_react@19.0.0-rc.1__react@19.0.0-rc.1/node_modules/@headlessui/react/dist/utils/stable-collection.js
./node_modules/.pnpm/@headlessui+react@1.7.19_react-dom@19.0.0-rc.1_react@19.0.0-rc.1__react@19.0.0-rc.1/node_modules/@headlessui/react/dist/components/tabs/tabs.js
I'm using Next 15 can you help what could be the issue here
Beta Was this translation helpful? Give feedback.
All reactions