·pgpm-troubleshooting
</>

pgpm-troubleshooting

Troubleshoot common pgpm, PostgreSQL, and testing issues. Use when encountering "connection refused", "PGHOST not set", "transaction aborted", Docker issues, or other pgpm-related errors.

7Installs·0Trend·@constructive-io

Installation

$npx skills add https://github.com/constructive-io/constructive-skills --skill pgpm-troubleshooting

How to Install pgpm-troubleshooting

Quickly install pgpm-troubleshooting AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/constructive-io/constructive-skills --skill pgpm-troubleshooting
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: constructive-io/constructive-skills.

SKILL.md

View raw

Cause: Running eval $(pgpm env) in a subshell or script

Cause: An error occurred in the transaction, and PostgreSQL marks the entire transaction as aborted. All subsequent queries fail until the transaction ends.

| Can't connect | pgpm docker start && eval "$(pgpm env)" | | PGHOST not set | eval "$(pgpm env)" | | Transaction aborted | Use savepoint pattern | | Tests interfere | Check beforeEach/afterEach hooks | | Module not found | Verify workspace structure | | Port in use | lsof -i :5432 then stop conflicting process |

Troubleshoot common pgpm, PostgreSQL, and testing issues. Use when encountering "connection refused", "PGHOST not set", "transaction aborted", Docker issues, or other pgpm-related errors. Source: constructive-io/constructive-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/constructive-io/constructive-skills --skill pgpm-troubleshooting
Category
</>Dev Tools
Verified
First Seen
2026-02-28
Updated
2026-03-10

Browse more skills from constructive-io/constructive-skills

Quick answers

What is pgpm-troubleshooting?

Troubleshoot common pgpm, PostgreSQL, and testing issues. Use when encountering "connection refused", "PGHOST not set", "transaction aborted", Docker issues, or other pgpm-related errors. Source: constructive-io/constructive-skills.

How do I install pgpm-troubleshooting?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/constructive-io/constructive-skills --skill pgpm-troubleshooting Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/constructive-io/constructive-skills