fix: try to fix the error reported by the stub command in the window system (#4560)

This commit is contained in:
Vben
2024-10-03 15:34:29 +08:00
committed by GitHub
parent f7016466ee
commit 13fd0ea16c
5 changed files with 4 additions and 6 deletions

View File

@@ -46,6 +46,7 @@ export async function run(options: RunOptions) {
process.exit(1);
}
process.env.VITE_CJS_IGNORE_WARNING = '1';
execaCommand(`pnpm --filter=${selectPkg} run ${command}`, {
stdio: 'inherit',
});