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

Cannot read property 'name' of undefined #28

Open
ihabtawfig opened this issue May 27, 2020 · 1 comment
Open

Cannot read property 'name' of undefined #28

ihabtawfig opened this issue May 27, 2020 · 1 comment

Comments

@ihabtawfig
Copy link

Hi
I am trying to use kepad for v5 as follows:

import Framework7 , {Template7} from 'framework7/framework7.esm.bundle.js';
Framework7.use(Framework7Keypad);

var app = new Framework7({
......

but app won't start and always gives:

class.js:150 Uncaught TypeError: Cannot read property 'name' of undefined
    at Function.installModule (class.js:150)

What could be the reason ?
thanks

@DK013
Copy link

DK013 commented Aug 1, 2020

Looks like the esm bundle is missing from the dist frolder on v3.0.1 release
So the f7 can't find the module. simple use import 'framework7-plugin-keypad/dist/framework7-keypad.min.js';
That worked for me

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