Installation Issues
Command Not Found After Installation
Problem: After runningnpm install -g prpm, the prpm command is not found.
Solutions:
-
Check if npm global bin is in your PATH:
-
Add npm global bin to PATH (if needed):
-
Use npx as alternative:
-
Reinstall with correct permissions:
Permission Errors During Installation
Problem: EACCES or permission denied errors when installing globally. Solutions:-
Change npm’s default directory (recommended):
-
Use sudo (less secure):
Package Installation Issues
Package Not Found
Problem:Error: Package 'package-name' not found
Diagnose:
-
Typo in package name:
-
Private package without authentication:
- Package doesn’t exist: Verify on registry.prpm.dev
File Already Exists
Problem:Error: File already exists at destination
Solutions:
-
Check what’s already installed:
-
Uninstall conflicting package first:
-
Force reinstall:
-
Install with custom name:
Download/Network Errors
Problem: Timeouts or connection errors during installation. Solutions:-
Check internet connection:
-
Check registry URL:
-
Try with custom timeout:
-
Check firewall/proxy settings:
-
Retry installation:
Integrity Check Failed
Problem:Error: Package integrity check failed
Solutions:
-
Clear cache and retry:
-
Force reinstall:
- Report issue: This may indicate a corrupted package in the registry
Authentication Issues
Login Fails
Problem: Unable to authenticate with the registry. Solutions:-
Clear existing auth and retry:
-
Check registry URL:
-
Use token directly (if you have one):
-
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:
-
Ensure you’re logged in:
-
Use correct namespace:
-
Check package doesn’t already exist:
Publishing Issues
Validation Errors
Problem:Error: Package validation failed
Solutions:
-
Validate your manifest:
-
Check required fields:
-
Ensure files exist:
-
Validate version format:
- Must be valid semver:
1.0.0,2.1.3, etc. - Cannot republish same version
- Must be valid semver:
Package Already Exists
Problem:Error: Package version already exists
Solutions:
-
Increment version:
-
Check existing versions:
-
Use semantic versioning:
- Patch:
1.0.1(bug fixes) - Minor:
1.1.0(new features) - Major:
2.0.0(breaking changes)
- Patch:
Files Not Included in Package
Problem: Published package missing expected files. Solutions:-
Check files array in prpm.json:
-
Use dry-run to preview:
-
Verify file paths are correct:
Lock File Issues
Corrupted prpm.lock
Problem:Error: Invalid lock file format
Solutions:
-
Validate JSON syntax:
-
Rebuild lock file:
-
Manual fix (if you know what’s wrong):
Lock File Out of Sync
Problem: Lock file doesn’t match installed files. Solutions:-
Rebuild from installed files:
-
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:
-
Check registry directly:
-
Clear cache:
-
Force update:
Update Fails Partway Through
Problem: Update starts but fails, leaving package in inconsistent state. Solutions:-
Uninstall and reinstall:
-
Check file permissions:
-
Cleanup and retry:
Format-Specific Issues
Cursor: Rules Not Being Applied
Problem: Installed Cursor rules don’t seem to affect the AI. Solutions:-
Check MDC header is present:
-
Restart Cursor:
- Close and reopen Cursor
- Or reload window: Cmd/Ctrl + Shift + P → “Reload Window”
-
Check file is in correct location:
-
Verify file syntax:
Claude: Skills Not Loading
Problem: Claude skills installed but not available. Solutions:-
Check directory structure:
-
Verify SKILL.md format:
- Restart Claude application
Configuration Issues
Config Not Persisting
Problem: Configuration changes don’t persist after restart. Solutions:-
Check config file location:
-
Check file permissions:
-
Manually edit config:
Custom Registry Not Working
Problem: Setting custom registry doesn’t take effect. Solutions:-
Verify config:
-
Set via environment variable:
-
Set globally:
Performance Issues
Slow Package Installation
Problem: Package installation takes longer than expected. Diagnose:-
Clear cache:
-
Check DNS resolution:
- Use wired connection if on WiFi
- Close other applications using network/disk
High Memory Usage
Problem: PRPM CLI using excessive memory. Solutions:-
Update to latest version:
-
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:-
Check GitHub Issues:
- https://github.com/pr-pm/prpm/issues
- Search for similar issues
- Comment on existing issues or create new one
-
Provide detailed information when reporting:
-
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.