nextjs-postgres-nextauth-tailwindcss-template icon indicating copy to clipboard operation
nextjs-postgres-nextauth-tailwindcss-template copied to clipboard

Module not found: Can't resolve '@radix-ui/react-visually-hidden'

Open viveleroi opened this issue 1 year ago • 1 comments

Doing a fresh clone of this repo locally using pnpm 9.14.2, the following error is thrown when I try pnpm dev. It seems to be several of the radix-ui packages.

./node_modules/.pnpm/@[email protected][email protected][email protected]_j3s6rmlx7byisagjbwyeu6igzq/node_modules/@radix-ui/react-tooltip/dist/index.mjs:17:1
Module not found: Can't resolve '@radix-ui/react-visually-hidden'
  15 | import { Slottable } from "@radix-ui/react-slot";
  16 | import { useControllableState } from "@radix-ui/react-use-controllable-state";
> 17 | import * as VisuallyHiddenPrimitive from "@radix-ui/react-visually-hidden";
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18 | import { jsx, jsxs } from "react/jsx-runtime";
  19 | var [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [
  20 |   createPopperScope

Similar errors also for import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu" and import { DismissableLayer } from "@radix-ui/react-dismissable-layer";

viveleroi avatar Nov 26 '24 01:11 viveleroi

Same over here, trying to do npm run build but getting issues with this module and also react-remove-scroll module

Ezeko95 avatar Feb 06 '25 21:02 Ezeko95