Skip to content

Cannot find module 'entities/dist/decode.js' from 'node_modules/@vue/compiler-core/dist/compiler-core.cjs.js'  #11603

@yashjainyj

Description

@yashjainyj

Vue version

3.4.37

Link to minimal reproduction

https://github.com/yashjainyj/vue_Module_Issue

Steps to reproduce

clone my repo
and run below command
yarn run test:unit

What is expected?

all jest test case should be resolved and run successfully

What is actually happening?

My Jest unit tests are failing

It appears that the vue package relies on an external dependency called entities. In the entities package, the decode.js file is missing from the dist folder.

However, the entities package has been updated and now contains two sub-folders, commonjs and esm, within the dist folder,

where decode.js can be found. The https://github.com/VUE package has not yet updated its path to reflect these changes.

System Info

No response

Any additional comments?

No response

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