question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Issue] Data path '' should NOT have additional properties (es5BrowserSupport) with `10.0.0` only

See original GitHub issue

Describe the Bug

I have this error:

Data path '' should NOT have additional properties (es5BrowserSupport)

When serving my Angular 10 application. This is only an issue with the version 10.0.0 of @angular-builders/custom-webpack dependency. Installing the version 9.2.0 of @angular-builders/custom-webpack fix the error.

Expected Behavior

No error and the app start running.

Environment

Libs
- @angular/core version: 10.0.8
- @angular-devkit/build-angular version: 0.1000.5
- @angular-builders/custom-webpack version: 9.2.0

I do not know if you are aware of this error and if not let me know if you need more information about my project.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:31 (5 by maintainers)

github_iconTop GitHub Comments

9reactions
guitarooman14commented, Feb 18, 2021

What I’ve found in documentation:

Thus, if you use @angular-builders/custom-webpack:dev-server along with @angular-builders/custom-webpack:browser, ng serve will run with custom configuration provided in the latter.

Example angular.json:

"architect": {
  ...
  "build": {
    "builder": "@angular-builders/custom-webpack:browser",
    "options": {
      "customWebpackConfig": {
         "path": "./extra-webpack.config.js"
      },
      ...
    }
  },
  "serve": {
    "builder": "@angular-builders/custom-webpack:dev-server",
    "options": {
      "browserTarget": "my-project:build"
    }
  }
8reactions
szywicommented, Apr 28, 2021

For those struggling with Data path "" should NOT have additional properties(customWebpackConfig).:

Make sure you configure customWebpackConfig with @angular-builders/custom-webpack:browser (and not @angular-builders/custom-webpack:dev-server).

See: custom-webpack-dev-server for more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular - Data path '''' should NOT have additional properties ...
In my case a simple npm i which re/installs all dependencies, solved the issue. – Semo. Aug 19, 2021 at 11:52. 1.
Read more >
How to resolve “Data path “” should not have additional ...
Solution There are two ways to remove this error, choose any of the below as per the requirement. 1. Remove es5BrowserSupport option from ......
Read more >
Schema validation failed with the following errors: Data path ...
[Solved]-Error: Schema validation failed with the following errors: Data path "" should NOT have additional properties(project)-angular.js. Search.
Read more >
angular/angular-cli - Gitter
Hi guys, I have problems with the deploy angular 6 in Apache server, I have the ... errors: Data path "" should NOT...
Read more >
data path "" should not have additional ... - Code Grepper
data path "" should not have additional properties(es5browsersupport). Add Answer | View In TPC Matrix. Technical Problem Cluster First Answered On May 11, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found