diff --git a/check-build.cjs b/check-build.cjs new file mode 100644 index 0000000..b4d7733 --- /dev/null +++ b/check-build.cjs @@ -0,0 +1,11 @@ +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); +}