Angularfire: ERROR in node_modules/@angular/fire/angularfire2.d.ts

Created on 7 Feb 2020  路  8Comments  路  Source: angular/angularfire

Im using Angular
Angular CLI: 8.3.25
Node: 12.13.1
OS: win32 x64
Angular: 8.2.14

I create i new project and I test it with ng serve, then I install
ng add @angular/fire@next
and implement all imports like is in the documentation. but when I try to run again with ng serve this message came out:
Nueva imagen de mapa de bits

??

Most helpful comment

aww, always have to delete node_modules thank you @fr4nk-dev, i forgot that. @Motero69 you should also delete node_modules too and delete package-lock.json then do npm i @angular/fire -S

All 8 comments

I have the same error.馃槥

Next tag is meant for angular 9. For angular 8 drop @next

npm run uninstall @angular/fire -S then npm i @angular/fire -S will work with angular 8. @Motero69 can you try again?

npm run uninstall @angular/fire -S then npm i @angular/fire -S will work with angular 8. @Motero69 can you try again?

Same error, works yout solution but also delete the node_modules folder

aww, always have to delete node_modules thank you @fr4nk-dev, i forgot that. @Motero69 you should also delete node_modules too and delete package-lock.json then do npm i @angular/fire -S

aww, always have to delete node_modules thank you @fr4nk-dev, i forgot that. @Motero69 you should also delete node_modules too and delete package-lock.json then do npm i @angular/fire -S

do everything as you said but have the same error again and again. any other with the same problem?

@breakingbeats try npm i @angular/[email protected]. Im using Ionic 5 and it ships with angular 8 by default but latest fire v6 package depends on Angular 9 hence the error

closing as outdated, we don't have the capacity to support older versions

Was this page helpful?
0 / 5 - 0 ratings