TerriaMap icon indicating copy to clipboard operation
TerriaMap copied to clipboard

Unable to resolve dependency tree

Open abenrob opened this issue 1 year ago • 2 comments

Using node v16 (as in package.json), npm install returns:

(base) ➜  TerriaMap git:(main) npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/fork-ts-checker-webpack-plugin
npm ERR!   dev fork-ts-checker-webpack-plugin@"^6.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer fork-ts-checker-webpack-plugin@"^7.0.0" from [email protected]
npm ERR! node_modules/fork-ts-checker-notifier-webpack-plugin
npm ERR!   dev fork-ts-checker-notifier-webpack-plugin@"^6.0.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.

abenrob avatar Dec 05 '24 09:12 abenrob

We are generally using yarn install; can you try with it

zoran995 avatar Dec 05 '24 09:12 zoran995

This did the trick - thanks!

On Thu, Dec 5, 2024, 10:53 Zoran Kokeza @.***> wrote:

We are generally using yarn install; can you try with it

— Reply to this email directly, view it on GitHub https://github.com/TerriaJS/TerriaMap/issues/719#issuecomment-2519800443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2DP2OKZQBSJUTHDB2STLL2EAPCTAVCNFSM6AAAAABTCBNZ3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJZHAYDANBUGM . You are receiving this because you authored the thread.Message ID: @.***>

abenrob avatar Dec 17 '24 17:12 abenrob