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
For some reason when I import things from headlessui, I get this error:
Error: Build failed with 30 errors:
node_modules/@headlessui/react/dist/components/button/button.js:1:42: ERROR: Could not resolve "@react-aria/focus"
node_modules/@headlessui/react/dist/components/button/button.js:1:87: ERROR: Could not resolve "@react-aria/interactions"
node_modules/@headlessui/react/dist/components/checkbox/checkbox.js:1:42: ERROR: Could not resolve "@react-aria/focus"
node_modules/@headlessui/react/dist/components/checkbox/checkbox.js:1:87: ERROR: Could not resolve "@react-aria/interactions"
node_modules/@headlessui/react/dist/components/combobox/combobox.js:1:43: ERROR: Could not resolve "@react-aria/focus"
...
at failureErrorWithLog (C:\Users\person\Documents\GitHub\openttd-deluxe\node_modules\.pnpm\esbuild@0.24.2\node_modules\esbuild\lib\main.js:1476:15)
at C:\Users\person\Documents\GitHub\openttd-deluxe\node_modules\.pnpm\esbuild@0.24.2\node_modules\esbuild\lib\main.js:945:25
at C:\Users\person\Documents\GitHub\openttd-deluxe\node_modules\.pnpm\esbuild@0.24.2\node_modules\esbuild\lib\main.js:1354:9
at processTicksAndRejections (node:internal/process/task_queues:105:5)
ELIFECYCLE Command failed with exit code 1.
Using electron forge with basic react (no framework).
I was able to fix this by installing a bunch of packages (see below)but that's not the way I would assume this is meant to work.
Packages I had to install: @floating-ui/core @floating-ui/dom @react-aria/ssr @tanstack/virtual-core @swc/helpers @react-stately/utils @floating-ui/react-dom tabbable @floating-ui/utils @react-aria/utils @floating-ui/react @tanstack/react-virtual @react-aria/interactions @react-aria/focus
The text was updated successfully, but these errors were encountered:
Version:
2.2.0
Package manager:
pnpm
For some reason when I import things from headlessui, I get this error:
Using
electron forge
with basic react (no framework).I was able to fix this by installing a bunch of packages (see below)but that's not the way I would assume this is meant to work.
Packages I had to install:
@floating-ui/core @floating-ui/dom @react-aria/ssr @tanstack/virtual-core @swc/helpers @react-stately/utils @floating-ui/react-dom tabbable @floating-ui/utils @react-aria/utils @floating-ui/react @tanstack/react-virtual @react-aria/interactions @react-aria/focus
The text was updated successfully, but these errors were encountered: