Roots Discourse

Yarn start broken after npm audit fix

After installing font awesome free pack, i had the following message:

+ @fortawesome/free-solid-svg-icons@5.9.0
added 258 packages from 131 contributors, removed 234 packages, updated 1532 packages and audited 27419 packages in 120.094s
found 52 vulnerabilities (25 low, 10 moderate, 17 high)
run `npm audit fix` to fix them, or `npm audit` for details

then i run

npm audit fix

and i got:

npm WARN stylelint-webpack-plugin@0.10.5 requires a peer of webpack@^1.13.2 || ^2.7.0 || ^3.11.0 || ^4.4.0 but none is installed. You must install peer dependencies yourself.

npm WARN terser-webpack-plugin@1.3.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.

+ imagemin-webpack-plugin@2.4.2

+ browser-sync@2.26.7

+ copy-globs-webpack-plugin@0.3.0

now running yarn like this:

yarn start

gives

Webpack is watching the files…

/Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/copy-globs-webpack-plugin/index.js:208
        Object.keys(this.files).filter(absoluteFrom => !compilation.fileDependencies.has(absoluteFrom)).forEach(absoluteFrom => compilation.fileDependencies.add(absoluteFrom));
                                                                                     ^

TypeError: compilation.fileDependencies.has is not a function
    at Object.keys.filter.absoluteFrom (/Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/copy-globs-webpack-plugin/index.js:208:86)
    at Array.filter (<anonymous>)
    at module.exports.afterEmitHandler (/Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/copy-globs-webpack-plugin/index.js:208:33)
    at Compiler.applyPluginsAsyncSeries1 (/Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/tapable/lib/Tapable.js:222:13)
    at Compiler.afterEmit (/Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/webpack/lib/Compiler.js:361:9)
    at require.forEach.err (/Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/webpack/lib/Compiler.js:350:15)
    at /Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/async/dist/async.js:473:16
    at iteratorCallback (/Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/async/dist/async.js:1064:13)
    at /Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/async/dist/async.js:969:16
    at /Applications/MAMP/htdocs/id_wp_test/wp-content/themes/idweblogs-portal/node_modules/graceful-fs/graceful-fs.js:45:10
    at FSReqWrap.args [as oncomplete] (fs.js:140:20)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any idea ?
Thanks