-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
angularfire2 2.0.0-beta.5 isn't visible on npmjs #511
Comments
Yes please release it. We need it badly for our project. Thanks!! |
@davideast Thanks David! |
@davideast should angularfire 2 be worried about AoT right now when tooling like cli / official documentation doesn't give any clue to what AoT is? To most of us this is just a concept in the air right now. |
@asadsahi Getting AoT working is not really a big deal even on a CLI made project, and I'm actually waiting for angularfire2 to work with AoT. Also the latest release isn't really a deal breaker, one could just use rxjs beta.10 until it's released, but AoT is something that should definitely work now that Angular 2.0.0 is released and I'm really glad they're working on it! |
@ivoviz AoT definitely sounds good, its just frustration caused by last release of angularfire2 could be avoided by a subsequent release targeting AoT. Not sure if the priority was to fix critical issues than AoT. |
@asadsahi Imo they just forgot to release initially and later on found an issue with AoT. Probably they'll fix it soon and then do a release. I understand your frustration, but the lib - with a small modification - still works, so I wouldn't really sweat it. Let's hope they'll do a release soon with AoT fixes though! |
@asadsahi @ivoviz It's important that we try not to knowingly release bugs into production. Outside of the AoT issue we have some more testing to do as there were a fair amount of changes to our test setup from the RC7 upgrade. We plan on cutting a |
Hey folks, I've published a pre-release version of the package behind a tag. It includes some packaging changes introduced in #510 which haven't yet been merged into master. You can get it by I'd appreciate any feedback if there are issues with the new packaging. |
Sorry for the inconvenience, I pushed the beta.5 tag to Github as I was preparing to do the release, and then ran into some build issues. As I was correcting the build issue, I wanted to take care of a couple of things to make AngularFire2 AoT-compile-friendly. |
@jeffbcross Thanks! I've just tried it, it's still not working for AoT, but at least it's a new error now. Previously I had |
Thanks, will look into it. We should add an AoT integration test (though
|
Just to be sure I'm doing it right, my rollup config is something like this:
|
@jeffbcross latest preview package has fixed #496 at least 👍 Here are my packages:
|
@jeffbcross It's just a wild guess, but it seems like it's trying to load the node version of firebase ( |
@ivoviz Upgrading to Firebase |
@davideast Doesn't seem to do the trick, at least for me. Upgraded firebase to |
@ivoviz can you add
|
^^^ that's because Firebase's package.json has a It also may be necessary to add firebase to the |
@jeffbcross Thanks for the tip! Adding |
@ivoviz can you share your complete configuration again? |
rollup
tsconfig
Using angularfire2 |
@ivoviz could you try changing the commonjs firebase include line to |
Same error sadly. |
@davideast is there a change in packaging with 3.4.0 that might cause this issue? |
Just fyi, I'm pretty sure it was happening with 3.3.0/3.3.2 as well. |
@ivoviz could you share your whole project in a github repository so I could tinker with it? |
Sent an invite, it's in the |
@ivoviz can you hop on Gitter? |
TL;DR we worked around the rollup issue using namedExports, to work around rollup-commonjs plugin's lack of understanding re-exported symbols.
rollup/rollup-plugin-commonjs#35 In other news, I've pushed the latest release to npm at latest tag, so you can get it by installing angularfire2@latest or [email protected]. |
Where should I include the named exports? I am having the same issue in Ionic 2 RC0.... Any help? |
@jlsuarezs Read #545 (comment), might help you out. |
Thank you for your help @ivoviz ! But now I have I new issue:
|
You can ignore that imo. |
It's not building the bundle, so, I've removed the evals from firebase.js and now! No errors, but a new issue :S:
It's because of the use strict mode, anyway to remove the strict mode only for firebase in the rollup config? :( |
If I add the option: useStrict: false, to the rollup.config.js it works, but I think it's not the best option.... Any idea? |
I have the same problem. Where did you put the useStrict: false option in rollup.config.js? |
Ah, nevermind, just a little typo, now it works. Thanks! |
It is self evident if you try to install this version or search on npmjs.com.
The text was updated successfully, but these errors were encountered: