fix(build): replace cross-spawn with Node built-in child_process.spawn

cross-spawn was failing to resolve during Docker builds on Render,
causing buildreact step to exit with status 1. Since the build runs
on Linux, the cross-platform spawn wrapper is unnecessary.

https://claude.ai/code/session_01UgRm1eNr4jVDQ4tVK2LXoR
This commit is contained in:
Claude 2026-02-21 17:40:46 +00:00
parent fc7a9cbb6a
commit 06d3c742d5
No known key found for this signature in database

View file

@ -3,8 +3,7 @@
* Licensed under the MIT License. See LICENSE.txt for more information.
*--------------------------------------------------------------------------------------*/
import { execSync } from 'child_process';
import { spawn } from 'cross-spawn'
import { execSync, spawn } from 'child_process';
// Added lines below
import fs from 'fs';
import path from 'path';