Hello, I have got error because of duplicity browserlist. It should be propably only at one place.
[15:24:13] Plumber found unhandled error:
BrowserslistError in plugin "gulp-postcss"
Message:
/Volumes/Data/Projects/xxx contains both browserslist and package.json with browsers
Details:
browserslist: true
fileName: /Volumes/Data/Projects/xxx/app/styles/main.css
Stack:
BrowserslistError: /Volumes/Data/Projects/xxx contains both browserslist and package.json with browsers
at /Volumes/Data/Projects/xxx/node_modules/browserslist/node.js:309:15
at eachParent (/Volumes/Data/Projects/xxx/node_modules/browserslist/node.js:48:18)
at Object.findConfig (/Volumes/Data/Projects/xxx/node_modules/browserslist/node.js:285:20)
at Function.loadConfig (/Volumes/Data/Projects/xxx/node_modules/browserslist/node.js:218:37)
at browserslist (/Volumes/Data/Projects/xxx/node_modules/browserslist/index.js:411:31)
at Browsers.parse (/Volumes/Data/Projects/xxx/node_modules/autoprefixer/lib/browsers.js:64:12)
at new Browsers (/Volumes/Data/Projects/xxx/node_modules/autoprefixer/lib/browsers.js:46:26)
at loadPrefixes (/Volumes/Data/Projects/xxx/node_modules/autoprefixer/lib/autoprefixer.js:97:20)
at plugin (/Volumes/Data/Projects/xxx/node_modules/autoprefixer/lib/autoprefixer.js:108:20)
at LazyResult.run (/Volumes/Data/Projects/xxx/node_modules/postcss/lib/lazy-result.js:295:14)
[15:24:13] Finished 'styles' after 391 ms
[15:24:13] Finished 'modernizr' after 391 ms
[15:24:14] Plumber found unhandled error:
BrowserslistError in plugin "gulp-babel"
Message:
[BABEL] /Volumes/Data/Projects/xxx/app/scripts/main.js: /Volumes/Data/Projects/xxx contains both browserslist and package.json with browsers (While processing: "/Volumes/Data/Projects/xxx/node_modules/@babel/preset-env/lib/index.js")
Hello, I have got error because of duplicity browserlist. It should be propably only at one place.