From b25cd7a23f426c5184861945ae432c9544cf554a Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 1 Apr 2021 16:22:44 +0100 Subject: [PATCH] Fixing node modules path. --- packages/server/src/utilities/fileSystem/index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/server/src/utilities/fileSystem/index.js b/packages/server/src/utilities/fileSystem/index.js index 632c22f40b..8d5c5c9b08 100644 --- a/packages/server/src/utilities/fileSystem/index.js +++ b/packages/server/src/utilities/fileSystem/index.js @@ -22,7 +22,13 @@ const fetch = require("node-fetch") const DEFAULT_AUTOMATION_BUCKET = "https://prod-budi-automations.s3-eu-west-1.amazonaws.com" const DEFAULT_AUTOMATION_DIRECTORY = ".budibase-automations" -const NODE_MODULES_PATH = join(__dirname, "..", "..", "..", "..", "node_modules") +const NODE_MODULES_PATH = join( + __dirname, + "..", + "..", + "..", + "node_modules" +) /** * The single stack system (Cloud and Builder) should not make use of the file system where possible,