You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
alvaro-canepa
changed the title
Missing main files on package.json
Missing module file on package.json
Jan 18, 2022
package.json
has wrong module file"module": "dist/vue-router-user-roles.esm.js",
, that file doesn't existsvue & 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.
The text was updated successfully, but these errors were encountered: