Quick Start not working - 2025

Author: sdarwinCreated Dec 14, 2025Updated Jul 7, 2026
Labelsdocumentation

https://isomorphic-git.org/docs/en/quickstart.html

Problem 1: Picking a directory

There is an error about the directory already existing if the command is run more than once, even some time later.

 {name: "Error", message: "EEXIST", stack: "Error

Locally I tried adding a delete step:

await pfs.rmdir(dir,{ recursive: true, force: true });

That resulted in:

[email protected]:1 Uncaught Error: ENOTEMPTY

So "force, recursive" didn't work. Any ideas?

Problem 2: clone a git repository

This shows

stack: "Error: Missing Buffer dependency

The buffer dependency error started with release 1.35 of isomorphic-git which was "Migrate from BrowserFS to ZenFS".

For this particular error about buffer, maybe @james-pre could take a look?

Source: isomorphic-git/isomorphic-git