TypeError: Cannot read properties of undefined/nullTypeError: Cannot read properties of undefined/null
An attempt was made to access a property or method on undefined or null.
TypeError: x is not a constructorAn attempt was made to use the new keyword with a value that is not a constructor.
You tried to use 'new' with an arrow function, a regular value, or a non-constructable object. Arrow functions cannot be used as constructors. Some built-in objects like Symbol and Math are also not constructable.
Use a regular function or class declaration instead of an arrow function when you need a constructor. Verify the value is actually a class or constructor function. Check that the import is correct and not returning a default export wrapper.
const fn = () => {}; new fn(); // TypeError: fn is not a constructorTypeError: Cannot read properties of undefined/nullAn attempt was made to access a property or method on undefined or null.
DOMException: DataCloneErrorAn object could not be cloned using the structured clone algorithm.
TypeError: x is not iterableA value that is not iterable was used where an iterable was expected, such as in a for...of loop or spread operator.
TypeError: Cannot convert a Symbol value to a stringAn implicit conversion of a Symbol to a string was attempted, which is not allowed.
SyntaxError: Unexpected tokenThe parser encountered a token (character or keyword) that was not expected at that position in the code.
ECONNREFUSEDThe connection was refused because no server is listening on the target address and port.