contains both .browserslistrc and package.json with browsers code example

Example 1: angular contains both .browserslistrc and browserslist

You can solve your problem by removing both browserslist error and .browserslistrc files.

re-build and run your app

npm run start or yarn serve for my case

Example 2: browserslisterror contains both .browserslistrc and package.json with browsers

// you can solve your problem by removing both 
// browserslisterror and .browserslistrc files.

 // re-build and run your app

 // for my case was ng serve , its then compiled