Skip to content

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

@nileshtrivedi

Description

@nileshtrivedi
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions