Skip to content

Commit

Permalink
Merge pull request #7 from BloomTech-Labs/decagondev-patch-1
Browse files Browse the repository at this point in the history
FIX Problems with npm start Update start.js
  • Loading branch information
decagondev authored Dec 15, 2023
2 parents bbec46f + 231b0d7 commit ca9aa6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start.js
Original file line number Diff line number Diff line change
@@ -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}`);
Expand All @@ -16,4 +16,4 @@ ls.stderr.on("ERROR", data => {

ls.on('error', (error) => {
console.log(`error: ${error.message}`);
});
});

0 comments on commit ca9aa6b

Please sign in to comment.