angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Compile failed when sourceMap: true

Open vhanded opened this issue 3 years ago • 3 comments
trafficstars

Version info

**Angular:13.2.2

**Firebase:9.6.6

**AngularFire:7.2.0

How to reproduce these conditions

ng build, with angular.json sourceMap: true

Debug output

Output from ng build --configuration development

./node_modules/@angular/fire/fesm2015/angular-fire-app-check.js:66:4-19 - Error: export 'registerVersion' (imported as 'registerVersion') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:18:11-20 - Error: export 'getApps' (imported as 'getApps$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:23:61-70 - Error: export 'getApps' (imported as 'getApps$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:31:25-33 - Error: export 'getApp' (imported as 'getApp$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:61:4-21 - Error: export 'registerVersion' (imported as 'registerVersion$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:62:4-21 - Error: export 'registerVersion' (imported as 'registerVersion$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:63:4-21 - Error: export 'registerVersion' (imported as 'registerVersion$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:112:28-39 - Error: export 'deleteApp' (imported as 'deleteApp$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:113:25-33 - Error: export 'getApp' (imported as 'getApp$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:114:26-35 - Error: export 'getApps' (imported as 'getApps$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:115:32-47 - Error: export 'initializeApp' (imported as 'initializeApp$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:116:24-31 - Error: export 'onLog' (imported as 'onLog$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:117:34-51 - Error: export 'registerVersion' (imported as 'registerVersion$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire-app.js:118:30-43 - Error: export 'setLogLevel' (imported as 'setLogLevel$1') was not found in 'firebase/compat/app' (possible exports: default)

./node_modules/@angular/fire/fesm2015/angular-fire.js:84:29-36 - Error: export 'getApps' (imported as 'getApps') was not found in 'firebase/compat/app' (possible exports: default)

Expected behavior

compile successful.

Actual behavior

compile failed.

vhanded avatar Feb 06 '22 01:02 vhanded

I found this issue here via google! This issue came up, after I decided to upgrade lots of my dependencies to fix my security warnings.

I was able to fix that issue with an upgrade to the latest angular/fire version (7.3.0).

tiga05 avatar Apr 19 '22 17:04 tiga05

Too bad, in my case, upgrading to 7.3.0 is not working.

Regards,

Chee Peng

On Wed, Apr 20, 2022 at 1:49 AM tiga05 @.***> wrote:

I found this issue here via google! This issue came up, after I decided to upgrade lots of my dependencies to fix my security warnings.

I was able to fix that issue with an upgrade to the latest angular/fire version (7.3.0).

— Reply to this email directly, view it on GitHub https://github.com/angular/angularfire/issues/3141#issuecomment-1102925100, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALBS2M4P7JA7UL6P6CRX53VF3W33ANCNFSM5NUU2DDQ . You are receiving this because you authored the thread.Message ID: @.***>

vhanded avatar Apr 23 '22 10:04 vhanded

Too bad, in my case, upgrading to 7.3.0 is not working. Regards, Chee Peng On Wed, Apr 20, 2022 at 1:49 AM tiga05 @.> wrote: I found this issue here via google! This issue came up, after I decided to upgrade lots of my dependencies to fix my security warnings. I was able to fix that issue with an upgrade to the latest angular/fire version (7.3.0). — Reply to this email directly, view it on GitHub <#3141 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALBS2M4P7JA7UL6P6CRX53VF3W33ANCNFSM5NUU2DDQ . You are receiving this because you authored the thread.Message ID: @.>

Hi, did you solve this problem?

ocamposoy avatar Mar 19 '24 12:03 ocamposoy