Coding⏱️ 3 min read📅 2026-06-15

How to Fix: Install @AngularFire Error:The package that you are trying to add does not support schematics

Error installing @angular/fire package due to lack of schematic support, try updating or contacting author.

Quick Answer: Update @angular/fire to a version that supports schematics or contact the author for assistance.

The error 'Install @angular/fire Error: The package that you are trying to add does not support schematics' occurs when attempting to install @angular/fire using the ng add command. This issue affects developers who use Angular and have not yet updated their project to a compatible version of Angular.

This error can be frustrating for developers as it prevents them from utilizing the features of @angular/fire. However, by following the steps outlined in this guide, you should be able to resolve the issue and successfully install @angular/fire.

⚠️ Common Causes

  • The primary reason for this error is that @angular/fire version 0.0.0 does not support schematics. Schematics are a crucial part of Angular's build process, and any package that does not support them may cause issues when trying to install or update dependencies.
  • An alternative reason for this error could be that the project's Angular version is outdated. If you are using an older version of Angular (prior to 12.0.0), it may not be compatible with @angular/fire, leading to errors like this.

🚀 How to Resolve This Issue

Updating Angular Version

  1. Step 1: Open your terminal or command prompt and navigate to your project directory.
  2. Step 2: Run the command `ng update` to update your Angular version. This may take some time depending on the size of your project.
  3. Step 3: Once the update is complete, try running `ng add @angular/fire` again to see if the error persists.

Using a Different Version of @angular/fire

  1. Step 1: Try updating @angular/fire to a version that supports schematics. You can do this by running the command `npm install @angular/fire@latest` or `yarn add @angular/fire@latest`.
  2. Step 2: If you are using npm, you may need to run `npm install` again after installing the updated package.

✨ Wrapping Up

By following these steps, you should be able to resolve the 'Install @angular/fire Error: The package that you are trying to add does not support schematics' error and successfully install @angular/fire. Remember to always update your Angular version and ensure that any packages you install are compatible with it.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions