Troubleshooting
Need help? Join the Discord or email support@vespercode.com.
Version
The latest version of the Vesper Code client can be found on the npm page.
Run vesper --version to make sure you're on the latest version.
Vesper Code should auto-update. If not, try the steps below.
Vesper Code not updating
If you see the npm install run but Vesper Code still isn't at the latest version, this is most likely an issue with npm's cache. Try running npm cache clean --force and then npm install -g vesper.
Install failed
If npm install -g vesper gave you an error regarding permissions, try using setting the owner of that directory to your user.
Mac/Linux: sudo chown -R $(whoami) <directory>
Windows: cmd takeown /F <directory> /R /D Y
Otherwise reinstall node with nvm or fnm and rerun the install.
Accessing Your Chat History
Your conversation history with Vesper Code is stored locally (and nowhere else) at ~/.config/vesper/projects/<your-project-name>/chats.
Include recent chats if you ask for help.
Common Issues
Connection Issues
If you see a message like this:
/Users/<youruser>/Library/pnpm/global/5/.pnpm/vesper@someversion/node_modules/vesper/dist/common/websockets/websocket-client.js:158reject(new Error(`Websocket message with txid ${txid} timed out.`)); ^Error: Websocket message with txid 32 timed out.at Timeout._onTimeout (/Users/<youruser>/Library/pnpm/global/5/.pnpm/vesper@someversion/node_modules/vesper/dist/common/websockets/websocket-client.js:158:28)at listOnTimeout (node:internal/timers:594:17)at process.processTimers (node:internal/timers:529:7)Node.js v22.12.0
it means you're having connection issues. In that case, try:
- Check your internet connection.
- Try logging out and back in with
logoutfollowed bylogin.
Endless Auto-Updates
If Vesper Code keeps trying to update itself in a loop, check the items below:
Conflicting Node/npm Installations
If you have both Homebrew and nvm installed, they may conflict. Run which node and which npm — if they point to /opt/homebrew/bin/ instead of ~/.nvm/versions/, uninstall Node via Homebrew (brew uninstall node) so nvm takes over.
Command Not Found
If you see "command not found" when trying to run Vesper Code:
- Ensure Vesper Code is installed globally:
npm install -g vesper - Check that your PATH includes npm's global bin directory
- Try running
which vesperto verify the installation location
Directory Not Empty
If you see an error like this:
npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /some/path/to/node_modules/vespernpm ERR! dest /some/path/to/node_modules/.vesper-SOMEHASHnpm ERR! errno -66npm ERR! ENOTEMPTY: directory not empty, rename '/some/path/to/node_modules/vesper' -> '/some/path/to/node_modules/.vesper-SOMEHASH'
It means you have a directory named .vesper-SOMEHASH in your node_modules directory. This is a temporary directory created by npm when installing packages. You can safely delete this directory and try again:
rm -rf /some/path/to/node_modules/.vesper-SOMEHASH
Need More Help?
- Join the Discord community
- Contact support@vespercode.com