uber / react-digraph

A library for creating directed graph editors
MIT License
2.62k stars 268 forks source link

Unable to install dependencies: terser-webpack-plugin #329

Open nileshtrivedi opened 2 years ago

nileshtrivedi commented 2 years ago
Helixs-Mac-mini:react-digraph helix$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: acorn@7.4.1
npm ERR! node_modules/acorn
npm ERR!   acorn@"^7.1.1" from webpack-bundle-analyzer@3.9.0
npm ERR!   node_modules/webpack-bundle-analyzer
npm ERR!     dev webpack-bundle-analyzer@"3.9.0" from the root project
npm ERR!   acorn@"^7.1.1" from espree@6.2.1
npm ERR!   node_modules/espree
npm ERR!     espree@"^6.1.2" from eslint@6.8.0
npm ERR!     node_modules/eslint
npm ERR!       dev eslint@"^6.1.0" from the root project
npm ERR!       18 more (babel-eslint, eslint-plugin-flowtype, ...)
npm ERR!   2 more (acorn-jsx, acorn-node)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional acorn@"^8.5.0" from terser@5.10.0
npm ERR! node_modules/terser
npm ERR!   terser@"^5.3.4" from terser-webpack-plugin@4.2.3
npm ERR!   node_modules/terser-webpack-plugin
npm ERR!     dev terser-webpack-plugin@"^4.2.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/helix/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/helix/.npm/_logs/2021-11-28T11_09_59_882Z-debug.log