Angularfire: @angular/fire/performance

Created on 10 May 2019  路  6Comments  路  Source: angular/angularfire

ERROR in ./node_modules/@angular/fire/performance/performance.module.js
Module not found: Error: Can't resolve 'firebase/perf'

Most helpful comment

I already used Firebase JS SDK 6.0 and still get the same error.

Shouldn't the import statement in:

https://github.com/angular/angularfire2/blob/performance_monitoring/src/performance/performance.module.ts#L4

be changed to:

import 'firebase/performance';

All 6 comments

You'll need to be upgrade to Firebase JS SDK 6.0

I already used Firebase JS SDK 6.0 and still get the same error.

Shouldn't the import statement in:

https://github.com/angular/angularfire2/blob/performance_monitoring/src/performance/performance.module.ts#L4

be changed to:

import 'firebase/performance';

I already used Firebase JS SDK 6.0 and still get the same error.

Shouldn't the import statement in:

https://github.com/angular/angularfire2/blob/performance_monitoring/src/performance/performance.module.ts#L4

be changed to:

import 'firebase/performance';

same

You'll need to be upgrade to Firebase JS SDK 6.0

https://github.com/angular/angularfire2/blob/performance_monitoring/src/performance/performance.module.ts#L4

be changed to:

import 'firebase/performance';

Ah, looks like it changed last beta release. I'll patch it up in the next candidate.

A fix was included in the last beta @angular/fire@next.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isylhdin picture isylhdin  路  3Comments

Leanvitale picture Leanvitale  路  3Comments

Maistho picture Maistho  路  3Comments

sharomet picture sharomet  路  3Comments

StephenFluin picture StephenFluin  路  3Comments