framework7-plugin-keypad icon indicating copy to clipboard operation
framework7-plugin-keypad copied to clipboard

Module Import issue with vite

Open DK013 opened this issue 4 years ago • 2 comments

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?

DK013 avatar Sep 27 '21 04:09 DK013

Same error here Any chance for fix for this?

macsupport avatar Dec 02 '21 23:12 macsupport

Still throws this error!

macsupport avatar Mar 18 '22 01:03 macsupport