Skip to content

installation error: The package that you are trying to add does not support schematics #2830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sloansobie opened this issue May 17, 2021 · 4 comments

Comments

@sloansobie
Copy link

sloansobie commented May 17, 2021

Version info
Angular: 12.0.0

Firebase: 9.10.2

AngularFire: 0.0.0 (this is the error)

How to reproduce these conditions
install @angular/fire in terminal through ng add @angular/fire command.

Expected behavior
Latest version of @angular/fire installs

Actual behavior
version 0.0.0 @angular/fire is installed

@google-oss-bot
Copy link

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

@the-xentropy
Copy link

Same here.

░▒▓    ng add @angular/fire        
Node.js version v15.12.0 detected.
Odd numbered Node.js versions will not enter LTS status and should not be used for production. For more information, please see https://nodejs.org/en/about/releases/.
ℹ Using package manager: npm
✔ Found compatible package version: @angular/[email protected].
✔ Package information loaded.
 
The package @angular/[email protected] will be installed and executed.
Would you like to proceed? Yes
✔ Package successfully installed.
The package that you are trying to add does not support schematics. You can try using a different version of the package or contact the package author to add ng-add support.

@0.0.0 is very suspicious indeed.

Also tried with Node LTS (14.17.0); same issue.

@jamesdaniels
Copy link
Member

We haven't marked Angular 12 as a compatible peer yet, make sure to specify a version/tag. ng add @angular/fire@latest should do it.

@sloansobie
Copy link
Author

@jamesdaniels thank you! This worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants