app-generator / react-datta-able-pro

React Datta Able PRO - Full-stack Seed Project | AppSeed
https://appseed.us/product/datta-able-pro/full-stack/react/
Other
2 stars 0 forks source link

npm dependency issue #4

Open botradingblog1 opened 2 years ago

botradingblog1 commented 2 years ago

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.

app-generator commented 2 years ago

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.

app-generator commented 2 years ago

Hello @justmobiledev,

Until a stable patch is provided please use this workaround:

Let us know your progress.

botradingblog1 commented 2 years ago

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

app-generator commented 2 years ago

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