Error Code Portal
Node.jsNode.jsError code

ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE

import attribute type incompatible

Code ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE · An issue reported by Node.js.

An import type attribute was provided, but the specified module is of a different type.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.