Skip to content

npm dependency issue #4

Description

@botradingblog1

Hi,
I'm trying to install the latest datta able dashboard and having the npm dependency issue below. Apparently two different react versions are requested by priv-react-datta-able-dashboard-pro and @amcharts/amcharts3-react.

thanks!

npm version: 8.1.2
node version: v16.13.2
Platform: windows 10

npm install
npm notice
npm notice New minor version of npm available! 8.1.2 -> 8.3.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.3.2
npm notice Run npm install -g npm@8.3.2 to update!
npm notice
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: priv-react-datta-able-dashboard-pro@1.0.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.0 || ^16.0.0" from @amcharts/amcharts3-react@3.1.0
npm ERR! node_modules/@amcharts/amcharts3-react
npm ERR! @amcharts/amcharts3-react@"^3.1.0" 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions