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



D:\Visnam\vtimviecweb>ng serve --ssl true
Schema validation failed with the following errors:
  Data path "" should NOT have additional properties(es5BrowserSupport).
(node:5140) ExperimentalWarning: The fs.promises API is experimental


es5BrowserSupport add additional polyfill

Solution 1

For option es5BrowserSupport your @angular/cli required minimum version 7.3 and @angular-devkit/build-angular required minimum version 0.13 .

  1. Check your @angular/cli version. if is less than 7.3 then run following command

    ng update @angular/cli

  2. Check your @angular-devkit/build-angular version. if is less than 0.13 then run following command

    ng update @angular-devkit/build-angular

Solution 2

Also you can edit angular.json file and find "es5BrowserSupport": true and comment it. It will also work without updating dependency

Không có nhận xét nào:

URL parameters with React Router

 https://ui.dev/react-router-url-parameters If you're reading this, you're probably familiar with the idea of function parameters. T...