From a80a27720bdc61effda7a43cd5d22fa3d55b562b Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 14 Jan 2025 15:53:37 -0800 Subject: [PATCH] bugfix: binary build issues --- binary/build.js | 4 ++++ .../intellij/.run/Start GUI Dev Server.run.xml | 2 +- extensions/intellij/CONTRIBUTING.md | 17 +++++++++++++++-- extensions/intellij/build.gradle.kts | 12 +++++------- .../e2e/Autocomplete.kt | 2 +- .../continueintellijextension/e2e/GUI.kt | 2 +- .../continueintellijextension/e2e/Onboarding.kt | 2 +- 7 files changed, 28 insertions(+), 13 deletions(-) diff --git a/binary/build.js b/binary/build.js index 045fb64f2..e01358cfa 100644 --- a/binary/build.js +++ b/binary/build.js @@ -118,6 +118,10 @@ async function installNodeModuleInTempDirAndCopyToCurrent(packageName, toCopy) { } (async () => { + // Informs of where to look for node_sqlite3.node https://www.npmjs.com/package/bindings#:~:text=The%20searching%20for,file%20is%20found + // This is only needed for our `pkg` command + fs.writeFileSync("out/package.json", ""); + console.log("[info] Downloading prebuilt lancedb..."); for (const target of targets) { if (targetToLanceDb[target]) { diff --git a/extensions/intellij/.run/Start GUI Dev Server.run.xml b/extensions/intellij/.run/Start GUI Dev Server.run.xml index bd98d3f57..5f574019a 100644 --- a/extensions/intellij/.run/Start GUI Dev Server.run.xml +++ b/extensions/intellij/.run/Start GUI Dev Server.run.xml @@ -5,7 +5,7 @@