fix(monorepo/electron): local dependency issues when running electron-forge result

This commit is contained in:
Elian Doran
2025-04-20 09:01:57 +03:00
parent 2a5766312d
commit f73cabc952
2 changed files with 1 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ function copyNodeModules(packageJsonPath: string) {
// Trigger an npm install to obtain the dependencies.
fs.writeFileSync(path.join(DEST_DIR, "package.json"), JSON.stringify(packageJson));
execSync(`npm install --omit=dev --omit=optional --omit=peer`, {
execSync(`npm install --omit=dev`, {
cwd: DEST_DIR,
stdio: "inherit",
});