Open matiishyn opened 8 years ago
this fixed the issue for me
So probably, something wrong happened during minification
Please help me to resolve it
I've tested it. For me it works. You just need to bower install --save angularfire
because it depends on firebase.
I also bumped gulp-inject
, wiredep
and main-bower-files
to the latest version. After that I had some problem with angular and jQuery because angular then uses his own jqlite library.
You have to add
"overrides": {
"angular": {
"dependencies": {
"jquery": "~2.2.3"
}
}
}
to your bower.json
if you use jQuery.
Ok, I faced the same error. Here is the solution:
https://gist.github.com/majkelo/1fcacd3aea7c00ad2e31e2fdf696b5e9
I have a clean project, generated by this generator: Angular1.5+Bootstrap+LESS
Then installing Firebase:
bower install --save firebase angularfire
(https://www.firebase.com/docs/web/libraries/angular/quickstart.html)and include![image](https://cloud.githubusercontent.com/assets/3661065/14587389/6a32e5c0-04b2-11e6-9093-fca67406c1ff.png)
firebase
module into my Angular app, like thisNow,![image](https://cloud.githubusercontent.com/assets/3661065/14587398/97f255d6-04b2-11e6-8181-44dd704d5de3.png)
gulp serve
works great BUTgulp serve:dist
(orgulp build
+ my server) gives an errorsimilar behavior I had for some other modules.
Could you please help me to resolve it