From 86d1ada1a82c51c50bb5516a43b517cb999cdde2 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Tue, 14 Nov 2023 13:59:21 +0000 Subject: [PATCH] Fix nodesDir path in launcher.js --- lib/launcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/launcher.js b/lib/launcher.js index fc2a91a..e658330 100644 --- a/lib/launcher.js +++ b/lib/launcher.js @@ -197,7 +197,7 @@ class Launcher { // path to the `@flowforge/nr-project-nodes` for development purposes const devEnvPath = path.join(__dirname, '..', '..', '..', 'packages', 'nr-project-nodes').replace(/\\/g, '/') if (existsSync(devEnvPath)) { - settings.nodePaths.push(devEnvPath) + settings.nodesDir.push(devEnvPath) } else { settings.nodesDir.push(path.join(__dirname, '..', 'node_modules', '@flowfuse', 'nr-project-nodes').replace(/\\/g, '/')) }