Missing export for vue-router.esm-bundler.js
The reporter is not a native English speaker. The following content is translated using translation software:
In vue-router@4.6.0
, there is a failure due to missing vue-router.esm-bundler.js
file export, which causes other downstream dependencies.
Read the making workflow line, an error, We can see that vue-router@4.6.0
is missing the vue-router.esm-bundler.js
export causing other downstream dependencies to fail. In this case, it's a failure that depends on @dcloudio/uni-h5@3.0.0-4070520250711001
.
The following contents are all kinds of error screenshots, you can skip it as appropriate.
Minimal replication error on stackblitz
Errors when github workflow runs
Error due to missing vue-router/dist/vue-router.esm-bundler.js
.
Running locally based on unibest template failures
Error Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
.
Why does my minimal replication still have several other dependencies?
To illustrate how issues with vue-router@4.6.0
affect other dependencies, a minimal usage example in the context of the uniapp
framework has been provided.
According to yesterday's update log, vue-router uses tsup for packaging projects in version 4.6.0
. This can lead to a situation of missing file exports.
This example provides a minimal number of dependencies to illustrate how vue-router@4.6.0
affects other downstream dependencies. No backward compatibility.