Skip to content

json import fails #1337

Answered by Rvtea
vinothvk asked this question in Q&A
May 19, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

I workaround this via pass the --experimental-json-modules to the command via something like "test": "NODE_OPTIONS='--experimental-json-modules' vitest run"

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sheremet-va
Comment options

@Rvtea
Comment options

@sheremet-va
Comment options

@vinothvk
Comment options

@Rvtea
Comment options

Answer selected by vinothvk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants