angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.64k stars 2.2k forks source link

pnpm fails due to fxfire => tslib dependency #3209

Open LanderBeeuwsaert opened 2 years ago

LanderBeeuwsaert commented 2 years ago

Version info

**Angular: 13.3.0

**Firebase: 9.6.10

**AngularFire: 7.3.0

windows 10 pnpm version: 6.32.6

How to reproduce these conditions

After switching from npm to pnpm, when booting the local server I get (see screenshot below) I would say that this is probably due to angularFire => rxFire dependency and due to this issue: https://github.com/FirebaseExtended/rxfire/issues/31 ?

Is there a workaround for this?

image

google-oss-bot commented 2 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

fgscaglioni commented 1 year ago

Version info

**Angular: 13.3.0

**Firebase: 9.6.10

**AngularFire: 7.3.0

windows 10 pnpm version: 6.32.6

How to reproduce these conditions

After switching from npm to pnpm, when booting the local server I get (see screenshot below) I would say that this is probably due to angularFire => rxFire dependency and due to this issue: FirebaseExtended/rxfire#31 ?

Is there a workaround for this?

image

It could be a little late but, I had the same problem and this workaround worked pretty well https://github.com/FirebaseExtended/rxfire/issues/31#issuecomment-1174992631

dalenguyen commented 1 year ago

@fgscaglioni confirms that overriding the tslib works. ☝️