Skip to main content

Installation Issues

Command Not Found After Installation

Problem: After running npm install -g prpm, the prpm command is not found. Solutions:
  1. Check if npm global bin is in your PATH:
  2. Add npm global bin to PATH (if needed):
  3. Use npx as alternative:
  4. Reinstall with correct permissions:

Permission Errors During Installation

Problem: EACCES or permission denied errors when installing globally. Solutions:
  1. Change npm’s default directory (recommended):
  2. Use sudo (less secure):

Package Installation Issues

Package Not Found

Problem: Error: Package 'package-name' not found Diagnose:
Common causes:
  1. Typo in package name:
  2. Private package without authentication:
  3. Package doesn’t exist: Verify on registry.prpm.dev

File Already Exists

Problem: Error: File already exists at destination Solutions:
  1. Check what’s already installed:
  2. Uninstall conflicting package first:
  3. Force reinstall:
  4. Install with custom name:

Download/Network Errors

Problem: Timeouts or connection errors during installation. Solutions:
  1. Check internet connection:
  2. Check registry URL:
  3. Try with custom timeout:
  4. Check firewall/proxy settings:
  5. Retry installation:

Integrity Check Failed

Problem: Error: Package integrity check failed Solutions:
  1. Clear cache and retry:
  2. Force reinstall:
  3. Report issue: This may indicate a corrupted package in the registry

Authentication Issues

Login Fails

Problem: Unable to authenticate with the registry. Solutions:
  1. Clear existing auth and retry:
  2. Check registry URL:
  3. Use token directly (if you have one):
  4. Check browser is opening:
    • If browser doesn’t open, copy URL from terminal
    • Complete authentication manually

Permission Denied When Publishing

Problem: Error: Insufficient permissions to publish Diagnose:
Solutions:
  1. Ensure you’re logged in:
  2. Use correct namespace:
  3. Check package doesn’t already exist:

Publishing Issues

Validation Errors

Problem: Error: Package validation failed Solutions:
  1. Validate your manifest:
  2. Check required fields:
  3. Ensure files exist:
  4. Validate version format:
    • Must be valid semver: 1.0.0, 2.1.3, etc.
    • Cannot republish same version

Package Already Exists

Problem: Error: Package version already exists Solutions:
  1. Increment version:
  2. Check existing versions:
  3. Use semantic versioning:
    • Patch: 1.0.1 (bug fixes)
    • Minor: 1.1.0 (new features)
    • Major: 2.0.0 (breaking changes)

Files Not Included in Package

Problem: Published package missing expected files. Solutions:
  1. Check files array in prpm.json:
  2. Use dry-run to preview:
  3. Verify file paths are correct:

Lock File Issues

Corrupted prpm.lock

Problem: Error: Invalid lock file format Solutions:
  1. Validate JSON syntax:
  2. Rebuild lock file:
  3. Manual fix (if you know what’s wrong):

Lock File Out of Sync

Problem: Lock file doesn’t match installed files. Solutions:
  1. Rebuild from installed files:
  2. Reinstall packages:

Update/Upgrade Issues

No Updates Available (But You Know There Should Be)

Problem: prpm outdated shows no updates despite new versions existing. Solutions:
  1. Check registry directly:
  2. Clear cache:
  3. Force update:

Update Fails Partway Through

Problem: Update starts but fails, leaving package in inconsistent state. Solutions:
  1. Uninstall and reinstall:
  2. Check file permissions:
  3. Cleanup and retry:

Format-Specific Issues

Cursor: Rules Not Being Applied

Problem: Installed Cursor rules don’t seem to affect the AI. Solutions:
  1. Check MDC header is present:
  2. Restart Cursor:
    • Close and reopen Cursor
    • Or reload window: Cmd/Ctrl + Shift + P → “Reload Window”
  3. Check file is in correct location:
  4. Verify file syntax:

Claude: Skills Not Loading

Problem: Claude skills installed but not available. Solutions:
  1. Check directory structure:
  2. Verify SKILL.md format:
  3. Restart Claude application

Configuration Issues

Config Not Persisting

Problem: Configuration changes don’t persist after restart. Solutions:
  1. Check config file location:
  2. Check file permissions:
  3. Manually edit config:

Custom Registry Not Working

Problem: Setting custom registry doesn’t take effect. Solutions:
  1. Verify config:
  2. Set via environment variable:
  3. Set globally:

Performance Issues

Slow Package Installation

Problem: Package installation takes longer than expected. Diagnose:
Solutions:
  1. Clear cache:
  2. Check DNS resolution:
  3. Use wired connection if on WiFi
  4. Close other applications using network/disk

High Memory Usage

Problem: PRPM CLI using excessive memory. Solutions:
  1. Update to latest version:
  2. Use smaller batch operations:

Debugging

Enable Verbose Logging

Get detailed output for debugging:

Check PRPM Version

View Full Error Stack

Inspect Lock File

Network Debugging


Getting Additional Help

If you’ve tried these solutions and still have issues:
  1. Check GitHub Issues:
  2. Provide detailed information when reporting:
  3. Join the community:
    • GitHub Discussions

Common Error Messages Explained

ENOENT: no such file or directory

Meaning: File or directory doesn’t exist. Solution: Check that the path is correct and the file exists.

EACCES: permission denied

Meaning: Insufficient permissions to access file/directory. Solution: Check permissions with ls -la, use sudo if appropriate, or change ownership.

EISDIR: illegal operation on a directory

Meaning: Trying to perform file operation on a directory. Solution: Check that your target is a file, not a directory.

EEXIST: file already exists

Meaning: Trying to create something that already exists. Solution: Use --force flag or remove existing file first.

Invalid semver version

Meaning: Version number doesn’t follow semantic versioning. Solution: Use format X.Y.Z (e.g., 1.0.0, 2.1.3).

Package not found in registry

Meaning: Package doesn’t exist or you lack access. Solution: Check package name, ensure you’re authenticated if private.

Authentication required

Meaning: Need to login to access resource. Solution: Run prpm login.

Rate limit exceeded

Meaning: Too many requests to registry. Solution: Wait a few minutes and retry.