SyntaxError: Cannot use import statement outside a moduleSyntaxError: Cannot use import statement outside a module
ES module import syntax was used in a file that is not treated as a module.
ENETUNREACHThe network is unreachable; no route to the target network could be found.
The operating system has no route to the target network. This happens when the network interface is down, the default gateway is unreachable, or routing tables are misconfigured.
Check your network interface is up with ifconfig or ip addr. Verify the default gateway with route or ip route. Ensure your network cable/WiFi is connected. Restart the network service if needed.
SyntaxError: Cannot use import statement outside a moduleES module import syntax was used in a file that is not treated as a module.
ERR_UNKNOWN_ENCODINGAn unknown or unsupported encoding was passed to a Node.js API.
EPERMThe operation is not permitted, even with appropriate permissions, due to OS-level restrictions.
TypeError: x is not a constructorAn attempt was made to use the new keyword with a value that is not a constructor.
EISDIRA file operation was attempted on a path that is a directory.
TypeError: Cannot delete property of objectAn attempt was made to delete a non-configurable property of an object in strict mode.