Coding⏱️ 2 min read📅 2026-05-31

How to Fix: Error: Schema validation failed with the following errors: Data path "" should NOT have additional properties(project)

Quick Answer: The error is caused by a change in the schema validation rules between Angular 5 and 6. The issue is likely due to a missing or incorrect import statement for the 'project' property.

The error message 'Data path "" should NOT have additional properties(project)' indicates that there is an issue with the schema validation in your Angular application. This typically occurs when there are extra properties added to a JSON object that does not conform to the expected schema.

🔍 Why This Happens

  • [Cause]

🛠️ Step-by-Step Verified Fixes

Method 1: Update to Angular 7 or Later

  1. Step 1: Check your project's configuration files (angular.json) and update the target schema version if necessary.

Method 2: Update Dependencies

  1. Step 1: Run the command `npm install --force` or `yarn upgrade` to update your dependencies to the latest versions.

✨ Wrapping Up

By following these steps, you should be able to resolve the schema validation error and get your application up and running smoothly.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions