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

Module Import issue with vite #37

Open
DK013 opened this issue Sep 27, 2021 · 2 comments
Open

Module Import issue with vite #37

DK013 opened this issue Sep 27, 2021 · 2 comments

Comments

@DK013
Copy link

DK013 commented Sep 27, 2021

On the latest f7 Vite is the only bundler available and throws this error while build:

node_modules/vite/dist/node/chunks/dep-36bf480c.js:43807:10: error: [plugin: vite:dep-scan] Failed to resolve entry for package "framework7-plugin-keypad". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "framework7-plugin-keypad". The package may have incorrect main/module/exports specified in its package.json.

Upon Inspect I came to this stacktrace:
src/js/app.js:4:29: note: The plugin "vite:dep-scan" was triggered by this import 4 │ import Framework7Keypad from 'framework7-plugin-keypad';

I checked the package.json file for the plugin and everything looks ok to me. Any suggestions?

@macsupport
Copy link

macsupport commented Dec 2, 2021

Same error here
Any chance for fix for this?

@macsupport
Copy link

Still throws this error!

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

2 participants