Skip to content

Missing peer tailwindcss@">=3.0.0 || insiders" #538

Open
@moltar

Description

@moltar

Describe the bug

I'm getting pnpm warnings about missing peers.

I realize that it is not an error, and the app actually still works, but regardless, I think from the perspective of correctness, the tailwindcss-animate requires tailwindcss package, and it is not provided in the package. It's becomes a transient (accidental) dependency resolution, probably somewhere upstream.

To Reproduce

Examine tailwindcss-animate peer declaration:

https://github.com/jamiebuilds/tailwindcss-animate/blob/ac0dd3a3c81681b78f1d8ea5e7478044213995e1/package.json#L38-L40

Examine the dependency declarations of inspector client:

"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1",
"@radix-ui/react-checkbox": "^1.1.4",
"ajv": "^6.12.6",
"@radix-ui/react-dialog": "^1.1.3",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.3",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.1",
"@radix-ui/react-toast": "^1.2.6",
"@radix-ui/react-tooltip": "^1.1.8",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.4",
"lucide-react": "^0.447.0",
"pkce-challenge": "^4.1.0",
"prismjs": "^1.30.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-simple-code-editor": "^0.14.1",
"serve-handler": "^6.1.6",
"tailwind-merge": "^2.5.3",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.8"

There's no tailwindcss.

Expected behavior

Add tailwindcss as a dependency.

Logs

 WARN  Issues with peer dependencies found
.
└─┬ @modelcontextprotocol/inspector 0.14.2
  └─┬ @modelcontextprotocol/inspector-client 0.14.2
    └─┬ tailwindcss-animate 1.0.7
      └── ✕ missing peer tailwindcss@">=3.0.0 || insiders"
Peer dependencies that should be installed:
  tailwindcss@">=3.0.0 || insiders"  

Additional context

N/A

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