提交 aa369867 authored 作者: Will Chen's avatar Will Chen

fix pnpm command

上级 fc446f99
...@@ -65,7 +65,7 @@ async function executeAppLocalNode({ ...@@ -65,7 +65,7 @@ async function executeAppLocalNode({
appId: number; appId: number;
event: Electron.IpcMainInvokeEvent; event: Electron.IpcMainInvokeEvent;
}): Promise<void> { }): Promise<void> {
const process = spawn("pnpm install && pnpm run dev -- --port 32100", [], { const process = spawn("pnpm install && pnpm run dev --port 32100", [], {
cwd: appPath, cwd: appPath,
shell: true, shell: true,
stdio: "pipe", // Ensure stdio is piped so we can capture output/errors and detect close stdio: "pipe", // Ensure stdio is piped so we can capture output/errors and detect close
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论