npm run build reports an error, use the latest version of @vue/devtools-api
cmdfas opened this issue · 0 comments
cmdfas commented
Version
4.0.2
Reproduction link
Steps to reproduce
When using the @vue/devtools-api@^6.0.0-beta.11 version in the yarn.lock file, there is no problem.
But when I upgraded to the latest @vue/devtools-api@6.0.0-beta.20.1 version, npm run build reported an error.
Here is the error:
src/index.cjs.js → dist/vuex.global.js...
[!] (plugin buble) CompileError: Transforming async functions is not implemented. Use `transforms: { asyncAwait: false }` to skip transformation and disable this error. (92:23)
node_modules/@vue/devtools-api/lib/esm/proxy.js (92:23)
88 : }
89 : },
90 : });
91 : }
92 : async setRealTarget(target) {
^^^^^^^^^^
What is expected?
npm run build has no errors
What is actually happening?
npm run build reports an error