1b51ad5f89
mem0ai declared pg as a required peer pinned to exactly 8.11.3, so npm auto-installed it for every user (including hosted MemoryClient users) and failed with ERESOLVE in any project already on a newer pg. The pin existed because pgvector.ts imported pg at module load, so mem0ai/oss crashed without it. PGVector now loads pg through loadPeer on initialize(), like the other optional vector stores, which lets pg and @types/pg become optional ^8.11.x peers. @types/jest moves from peer to dev dependencies. Closes #3307
Mintlify Starter Kit
Click on Use this template to copy the Mintlify starter kit. The starter kit contains examples including
- Guide pages
- Navigation
- Customizations
- API Reference pages
- Use of popular components
Development
Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command
npm i -g mintlify
Run the following command at the root of your documentation (where mint.json is)
mintlify dev
Publishing Changes
Install our GitHub App to auto-propagate changes from your repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.
Troubleshooting
- Mintlify dev isn't running - Run
mintlify installit'll re-install dependencies. - Page loads as a 404 - Make sure you are running in a folder with
mint.json