You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using HeadlessUI with NextJS and I got the following error.
Module parse failed: Identifier '_react' has already been declared (24:6)
File was processed with these loaders:
* ./node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
You may need an additional loader to handle the result of these loaders.
| const _validation = require("@/utils/validation");
| const _appContext = require("@/context/AppContext");
> const _react = require("@headlessui/react");
| const AccountSetup = ()=>{
| const { setAppData } = (0, _appContext.useAppContext)();
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using HeadlessUI with NextJS and I got the following error.
Anyone know how to solve this issue?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions