ReferenceErrorReferenceError
A reference was made to a variable that does not exist in the current scope.
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memoryThe V8 engine ran out of heap memory, causing the Node.js process to crash.
The process exceeded the default heap memory limit (about 1.5-4 GB depending on system). This is caused by memory leaks, loading too much data into memory, or processing very large datasets without streaming.
Increase the heap limit: node --max-old-space-size=8192 app.js. Fix memory leaks by profiling with --inspect and Chrome DevTools. Stream large data instead of loading it all into memory. Use worker threads for memory-intensive tasks.
// Increase limit: node --max-old-space-size=4096 app.jsReferenceErrorA reference was made to a variable that does not exist in the current scope.
TypeError: Cannot read properties of undefined/nullAn attempt was made to access a property or method on undefined or null.
ERR_INSPECTOR_ALREADY_ACTIVATEDThe Node.js inspector (debugger) was activated more than once.
TypeError: Cannot assign to read only propertyAn attempt was made to write to a property that is read-only, either because the object is frozen or the property is defined as non-writable.
ERR_HTTP2_STREAM_ERRORAn error occurred on an HTTP/2 stream.
EHOSTUNREACHThe target host is unreachable, typically due to network routing issues.