IMPORT_ATTRIBUTE_REFUSED: Import attribute refused
| Severity | Fault | Stage |
|---|---|---|
| error | customer (the source package) | compile |
What it means
Section titled “What it means”The only import attribute allowed is with { type: "json" } on a .json file; type: "text", "bytes", "file" and the like are refused.
How to fix
Section titled “How to fix”Remove the attribute, or import a .json file with with { type: "json" }.