dependency-conflicts

Community

Resolve pnpm workspace dependency issues fast.

AuthorPeterCowling
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Resolve pnpm workspace dependency issues. Use when you see ERESOLVE errors, peer dependency mismatches, "Cannot find module" after install, or version conflicts between packages.

Core Features & Use Cases

  • Diagnose dependency issues in a pnpm workspace using commands like pnpm why, pnpm ls --depth 0, and pnpm why --json to understand versions and resolution.
  • Apply fixes by updating root package.json with overrides or by adding missing peer dependencies, then reinstall to align the workspace.
  • Use cases include resolving cross-package version conflicts and eliminating "Cannot find module" errors after installations.

Quick Start

Use this skill to identify and fix dependency conflicts in your monorepo by following the steps above: run pnpm why to inspect dependencies, then pnpm ls to view the workspace, add overrides or missing peers in root package.json, and re-run pnpm install.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dependency-conflicts
Download link: https://github.com/PeterCowling/base-shop/archive/main.zip#dependency-conflicts

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.