@apshada1 wrote:
D:\ionic\bana>ionic serve
react-scripts start
[react-scripts] D:\ionic\bana\node_modules\react-dev-utils\node_modules\browserslist\node.js:303
[react-scripts] throw new BrowserslistError(
[react-scripts] ^
[react-scripts] Error [BrowserslistError]: D:\ionic\bana contains both browserslist and package.json with browsers
[react-scripts] at D:\ionic\bana\node_modules\react-dev-utils\node_modules\browserslist\node.js:303:15
[react-scripts] at eachParent (D:\ionic\bana\node_modules\react-dev-utils\node_modules\browserslist\node.js:48:18)
[react-scripts] at Object.findConfig (D:\ionic\bana\node_modules\react-dev-utils\node_modules\browserslist\node.js:279:20)
[react-scripts] at Function.loadConfig (D:\ionic\bana\node_modules\react-dev-utils\node_modules\browserslist\node.js:212:37)
[react-scripts] at checkBrowsers (D:\ionic\bana\node_modules\react-dev-utils\browsersHelper.js:45:32)
[react-scripts] at Object. (D:\ionic\bana\node_modules\react-scripts\scripts\start.js:83:1)
[react-scripts] at Module._compile (internal/modules/cjs/loader.js:1133:30)
[react-scripts] at Object.Module._extensions…js (internal/modules/cjs/loader.js:1153:10)
[react-scripts] at Module.load (internal/modules/cjs/loader.js:977:32)
[react-scripts] at Function.Module._load (internal/modules/cjs/loader.js:877:14) {
[react-scripts] browserslist: true
[react-scripts] }[ERROR] react-scripts has unexpectedly closed (exit code 1).
The Ionic CLI will exit. Please check any output above for error details.
Posts: 1
Participants: 1