Skip to content

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module #12639

Answered by nicolo-ribaudo
lenkors asked this question in Q&A
Discussion options

You must be logged in to vote

This is vuejs/vue-cli#6018, you can set VUE_CLI_BABEL_TRANSPILE_MODULES=true as a workaround when running your buil command.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lenkors
Comment options

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