From 1e3d0a3a491a40781433b02ce4435f05bbc93a26 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 4 Jul 2024 11:14:02 +0200 Subject: [PATCH] Fix require --- packages/cli/src/core/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/core/db.ts b/packages/cli/src/core/db.ts index f2afb8bcd4..93d50e0c2c 100644 --- a/packages/cli/src/core/db.ts +++ b/packages/cli/src/core/db.ts @@ -17,7 +17,7 @@ export function getPouch(url?: string) { prefix: url, } } - const replicationStream = require("pouchdb-replication-stream") + const replicationStream = require("@budibase/pouchdb-replication-stream") PouchDB.plugin(replicationStream.plugin) // @ts-ignore PouchDB.adapter("writableStream", replicationStream.adapters.writableStream)