Skip to content

[bug]: Cannot find package '@eslint/js' #8461

@MrHeer

Description

@MrHeer

Describe the bug

Throw Cannot find package '@eslint/js' ... error when I exec pnpm lint in apps/web.

Affected component/components

noop

How to reproduce

  1. pnpm dlx shadcn@canary init
  2. Select the Next.js (Monorepo) option.
  3. cd apps/web
  4. pnpm lint

Codesandbox/StackBlitz link

No response

Logs

> [email protected] lint /xxx
> next lint

Cannot find package '@eslint/js' imported from /xxx/packages/eslint-config/next.js
Did you mean to import "@eslint/js/src/index.js"?

System Info

system: macOS
browser: Arc

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions