angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Missing "firebase/lib/"

Open rvmladenov opened this issue 10 years ago • 4 comments

I am using the "Installation and Setup" guide to add angularfire2 to my project but I am stuck at step "4.Include AngularFire 2 and Firebase in the vendor files" where it says that I need to include "'firebase/lib/*.js'" but the folder "lib" is missing and it gives me 404 error in the browser console when I complete all steps - "NetworkError: 404 Not Found - http://localhost:4200/vendor/firebase/lib/firebase-web.js".

Any ideas why this is happening ?

rvmladenov avatar Jun 02 '16 09:06 rvmladenov

@rvmladenov Check which version of firebase you have installed (should be ^2.4.2 in your package.json) I had the same issue when I accidentally pulled the 3.x version in.

Zyzle avatar Jun 02 '16 10:06 Zyzle

Yep, seems that this was the problem with firebase ... but now I am having issues with the angularfire2 :) Could you give me the version you are using for that as well ?

rvmladenov avatar Jun 02 '16 10:06 rvmladenov

Sure its "angularfire2": "2.0.0-beta.0" I had to freeze this at 2.0.0-beta.0 as npm tried to pull in 2.0.0-beta.0-1 from somewhere (daviddm still shows this as the most current version of the package in fact) although it now seems to be content with beta.0

Zyzle avatar Jun 02 '16 10:06 Zyzle

Thank you ! Everything is working just fine now.

rvmladenov avatar Jun 02 '16 11:06 rvmladenov