mirror of
https://github.com/R0m1k3/podcastic.git
synced 2026-10-11 17:26:20 +02:00
12 lines
393 B
JavaScript
12 lines
393 B
JavaScript
const { execSync } = require('child_process');
|
|
|
|
try {
|
|
const result = execSync('npm run build', { cwd: 'c:\\Users\\Bureau\\Claude\\podcastic-1\\frontend', stdio: 'pipe' });
|
|
console.log(result.toString());
|
|
} catch (e) {
|
|
console.error("BUILD FAILED");
|
|
console.error(e.stdout ? e.stdout.toString() : '');
|
|
console.error(e.stderr ? e.stderr.toString() : '');
|
|
console.error(e.message);
|
|
}
|