-
Notifications
You must be signed in to change notification settings - Fork 86
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
bower angluar-localforage config
is undefined
#37
Comments
You need to install both with bower (which you did), but you also need to include the js file for localForage before the one for angular-localForage. Did you do that ? This config error means that angular-localForage cannot find the lib localForage. |
in my So yes, I do put the UPDATE: I have tried this way as well |
In the console, I also get the error: |
I don't know, I've never used browserify before, sorry... :-/ |
oh ok. I'll look more into it and let you know what I find. Thanks! |
Can you test the master and see if the PR #40 fixes this problem ? |
does not fix the problem. I think the issue is in I'm filling an issue with them soon. |
Ok thanks, let me know! |
same issue here! im trying to use it with electron, but is not working! im desesperate! :( |
You did include both files and in the right order ? |
yes i have |
I followed through with the readme by installing both localforage and angular-localforage with
bower
.I tried bundling both files with browserify and I keep getting the following error in chrome:
TypeError: Cannot read property 'config' of undefined
at new LocalForageInstance (http://localhost:3000/angular-localforage/dist/angular-localforage.js:57:17)
Prior to this error I was getting other errors in
localforage
about not being able to find the drivers and the promise library.Any thoughts?
The text was updated successfully, but these errors were encountered: