Site Name: Netlify App
Below is the error which im getting after updating the project to node 16 version
:26:27 PM: Test Suites: 1 passed, 1 total
5:26:27 PM: Tests: 1 passed, 1 total
5:26:27 PM: Snapshots: 0 total
5:26:27 PM: Time: 1.619 s
5:26:27 PM: Ran all test suites.
5:26:28 PM: Creating an optimized production build…
5:29:23 PM: <— Last few GCs —>
5:29:23 PM: [4754:0x534dbe0] 175893 ms: Scavenge 2003.6 (2066.5) → 2002.8 (2075.5) MB, 3.8 / 0.0 ms (average mu = 0.399, current mu = 0.194) allocation failure
5:29:23 PM: [4754:0x534dbe0] 175909 ms: Scavenge 2008.7 (2075.5) → 2006.6 (2076.7) MB, 4.8 / 0.0 ms (average mu = 0.399, current mu = 0.194) allocation failure
5:29:23 PM: [4754:0x534dbe0] 175928 ms: Scavenge 2010.4 (2076.7) → 2008.6 (2096.2) MB, 9.0 / 0.0 ms (average mu = 0.399, current mu = 0.194) allocation failure
5:29:23 PM: <— JS stacktrace —>
5:29:23 PM: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
5:29:23 PM: 1: 0xb090e0 node::Abort() [node]
5:29:23 PM: 2: 0xa1b70e [node]
5:29:23 PM: 3: 0xce1a20 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
5:29:23 PM: 4: 0xce1dc7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5:29:23 PM: 5: 0xe99435 [node]
5:29:23 PM: 6: 0xea90fd v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
5:29:23 PM: 7: 0xeabdfe v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
5:29:23 PM: 8: 0xe6d33a v8::internal::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
5:29:23 PM: 9: 0x11e61e6 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
5:29:23 PM: 10: 0x15d9e59 [node]
5:29:24 PM:
5:29:24 PM: build.command failed
5:29:24 PM: ────────────────────────────────────────────────────────────────
5:29:24 PM:
5:29:24 PM: Error message
5:29:24 PM: Command failed with exit code 1: npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
5:29:24 PM:
5:29:24 PM: Error location
5:29:24 PM: In Build command from Netlify app:
5:29:24 PM: npm run build
5:29:24 PM:
5:29:24 PM: Resolved config