Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing module file on package.json #16

Open
alvaro-canepa opened this issue Jan 18, 2022 · 0 comments
Open

Missing module file on package.json #16

alvaro-canepa opened this issue Jan 18, 2022 · 0 comments

Comments

@alvaro-canepa
Copy link

package.json has wrong module file "module": "dist/vue-router-user-roles.esm.js",, that file doesn't exists

vue & vue-router-permissions version

vue 2.6.14
vite 2.7.12
vue-router-user-roles 0.1.92

Reproduction Link

Steps to reproduce

run yarn dev

What is Expected?

No errors

What is actually happening?

Vite get error message
[plugin:vite:import-analysis] Failed to resolve entry for package "vue-router-user-roles". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "vue-router-user-roles". The package may have incorrect main/module/exports specified in its package.json.

@alvaro-canepa alvaro-canepa changed the title Missing main files on package.json Missing module file on package.json Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant