mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-05 02:43:32 +00:00
fix(desktop): drop --ignore-scripts so lbugjs.node install hook runs
Using --ignore-scripts with npm ci skips per-package install hooks, including @ladybugdb/core's install.js that copies lbugjs.node into the correct path. Without it, process.dlopen fails with ERR_DLOPEN_FAILED.
This commit is contained in:
parent
6435cad7fd
commit
f08f65c6ad
1 changed files with 1 additions and 5 deletions
|
|
@ -263,11 +263,7 @@ const runNpm = (args, cwd) => {
|
|||
|
||||
const repairGitNexusPackages = (_dependencyMap, label) => {
|
||||
console.info(`[gitnexus-desktop] ${label}.`);
|
||||
// Skip lifecycle scripts (postinstall/prepare) — the prepare script triggers
|
||||
// a full gitnexus + web build which can exceed its 120 s execSync timeout on
|
||||
// a cold machine. The runtime artifacts are rebuilt separately via
|
||||
// runNpm(['run', 'build'], gitnexusRoot) below when isGitNexusBuildStale().
|
||||
runNpm(['ci', '--ignore-scripts'], gitnexusRoot);
|
||||
runNpm(['ci'], gitnexusRoot);
|
||||
};
|
||||
|
||||
const runCommand = (command, args) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue