Skip to content

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

@viveleroi

Description

@viveleroi

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";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions