You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently encountered webpack/webpack#8656 during an upgrade where, due to an NPM bug, the wrong version of acorn "wins" and breaks webpack. Running npm ls acorn shows the "winner" of the hoisting being webpack-bundle-analyzer (which I have in devDeps to make analyzing and testing easier).
The npm update acorn --depth 20 && npm dedupe solution does not work in this case, however manually installing via npm install --save-dev acorn@latest worked.
Since webpack-bundle-analyzer is used rarely (only when manually invoked) I may be moving forward by removing it from my package.json, which is probably best practice anyways. I simply wanted to file the issue to add more info/color if anyone else encounters this when they upgrade their webpack.
Technical info
Webpack Bundle Analyzer version: 3.0.3
Webpack version: 4.29.0
Node.js version: 10.14.1
npm/yarn version: npm 6.7.0
OS: macOS 10.14.3
Debug info
Actual functionality of the tool is unaffected
The text was updated successfully, but these errors were encountered:
Issue description
I recently encountered webpack/webpack#8656 during an upgrade where, due to an NPM bug, the wrong version of
acorn
"wins" and breakswebpack
. Runningnpm ls acorn
shows the "winner" of the hoisting beingwebpack-bundle-analyzer
(which I have in devDeps to make analyzing and testing easier).The
npm update acorn --depth 20 && npm dedupe
solution does not work in this case, however manually installing vianpm install --save-dev acorn@latest
worked.Since
webpack-bundle-analyzer
is used rarely (only when manually invoked) I may be moving forward by removing it from my package.json, which is probably best practice anyways. I simply wanted to file the issue to add more info/color if anyone else encounters this when they upgrade their webpack.Technical info
Debug info
Actual functionality of the tool is unaffected
The text was updated successfully, but these errors were encountered: