Skip to content

Conversation

haohanyang
Copy link

I ran into the error ERR_IMPORT_ASSERTION_TYPE_MISSING when running npm run build (node version v18.17.1). Adding assert { type: "json" } seems to fix it.

Ref: https://stackoverflow.com/questions/70106880/err-import-assertion-type-missing-for-import-of-json-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant