app-generator/react-datta-able-pro

npm dependency issue

botradingblog1 opened this issue · 4 comments

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.

Hello @justmobiledev,

We will assist. In the meantime, if possible try to fall back to Node 14.x, 12.x

Also, we recommend using yarn, instead of NPM.

P.S. an invitation to the private repo has been sent to your account.

https://github.com/app-generator/priv-react-datta-able-dashboard-pro/invitations

Thank you for using our products.

Hello @justmobiledev,

Until a stable patch is provided please use this workaround:

  • install NMV
  • Install Yarn
  • Use a Node v14.x version
    • nvm use 14.13.1
  • Compile and start the product:
    • yarn
    • yarn start

Let us know your progress.

Hi, ok so Node v14.17.3 works. Thanks!

Yw!
We will also provide a fix for 16.x version.