ENOTDIRENOTDIR: Not a directory
A directory operation was attempted on a path that is not a directory.
ERR_CRYPTO_INVALID_STATEA crypto operation was performed in an invalid state.
You tried to use a crypto object after it was already finalized, or called methods in the wrong order. For example, calling .update() after .final() on a cipher, or reusing a hash object after .digest().
Create a new crypto object for each operation instead of reusing finalized ones. Follow the correct method call order: create -> update (can repeat) -> final/digest. Check the crypto API documentation for the correct lifecycle.
ENOTDIRA directory operation was attempted on a path that is not a directory.
SyntaxError: Illegal return statementA return statement was used outside of a function body.
TypeErrorA value is not of the expected type. This is the most common JavaScript error, occurring when an operation encounters a value of the wrong type.
TypeError: Reduce of empty array with no initial valueArray.reduce() was called on an empty array without providing an initial value.
ENOENTThe specified file or directory does not exist at the given path.
TypeError: x is not a functionAn attempt was made to call a value as a function when it is not a function.