diff --git a/start.js b/start.js index ef34bbd04..d95d89efe 100644 --- a/start.js +++ b/start.js @@ -1,7 +1,7 @@ const { spawn } = require("child_process"); const { Buffer } = require("buffer"); -const ls = spawn(/^win/.test(process.platform) ? 'npx.cmd' : 'npx', ['craco', '--max_old_space_size=4096', 'start']); +const ls = spawn(/^win/.test(process.platform) ? 'npx.cmd' : 'npx', ['craco', '--max_old_space_size=4096', '--openssl-legacy-provider', 'start']); ls.stdout.on("data", data => { console.log(`${data}`); @@ -16,4 +16,4 @@ ls.stderr.on("ERROR", data => { ls.on('error', (error) => { console.log(`error: ${error.message}`); -}); \ No newline at end of file +});