Skip to content

Cannot update @angular/fire from v7 to next version #3458

@pbodlev

Description

@pbodlev

Version info

Angular: 16.2.12

Firebase:

AngularFire: 7.6.1

Other (e.g. Ionic/Cordova, Node, browser, operating system):

OS: MacOS Sonoma 14.0

How to reproduce these conditions

I am trying to update my angular version from 16.x up to 17. One of the prerequirements is to update @angular/fire up to v17.

 ng update
 Using package manager: yarn
 Collecting installed dependencies...
 Found 29 dependencies.
 We analyzed your package.json, there are some packages to update:


  Name                               Version                  Command to update
 --------------------------------------------------------------------------------
  @angular/cli                       16.1.8 -> 16.2.10        ng update @angular/cli
  @angular/core                      16.2.8 -> 16.2.12        ng update @angular/core
  @angular/fire                      7.6.1 -> 16.0.0          ng update @angular/fire

Debug output

I have tried to use ng update @angular/fire

but getting this error

Screenshot 2023-11-08 at 14 30 30

This one is expected, because there are versions between 7 and 17. However when I tried to install next version (16) it gives me same error. I also tried to update it to v8, but it seems that v8 do not exist according to https://www.npmjs.com/package/@angular/fire?activeTab=versions and also based on this issue.

Screenshot 2023-11-08 at 14 33 25

Expected behavior

Update @angular/fire to next version (v16)

Actual behavior

yarn think that next version is 8 but there is no such version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions