Skip to content

vue-router.esm-bundler.js not exported in vue-router@4.6.0 version #2569

@ruan-cat

Description

@ruan-cat

Reproduction

https://stackblitz.com/~/github.com/ruan-cat/bug-in-vue-router-4.6.0-with-uniapp?file=package.json

Steps to reproduce the bug

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.

Expected behavior

This will export vue-router.esm-bundler.js as normal.

Actual behavior

As shown above .

Additional information

The following contents are all kinds of error screenshots, you can skip it as appropriate.

Minimal replication error on stackblitz

2025-10-15-15-14-44

2025-10-15-15-15-18

Errors when github workflow runs

Error due to missing vue-router/dist/vue-router.esm-bundler.js.

2025-10-15-13-37-22

Running locally based on unibest template failures

Error Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'.

2025-10-15-13-38-32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions