npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: sanity-studio@1.0.0
npm ERR! Found: @sanity/icons@3.3.1
npm ERR! node_modules/@sanity/icons
npm ERR! @sanity/icons@"^3.3.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @sanity/icons@"^2.3.1" from groqd-playground@0.0.20
npm ERR! node_modules/groqd-playground
npm ERR! groqd-playground@"^0.0.20" 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!
npm ERR! For a full report see:
npm ERR! /Users/shreyas/.npm/_logs/2024-08-16T04_56_22_979Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/shreyas/.npm/_logs/2024-08-16T04_56_22_979Z-debug-0.log
I ran npm install --force and it fixed the issue temporarily and I'm able to run the project just fine. But don't know if this will cause any issues in the future during development.
Steps to reproduce the error:
npm install
in the root foldercd studio && npm install
The following error occurs:
I ran
npm install --force
and it fixed the issue temporarily and I'm able to run the project just fine. But don't know if this will cause any issues in the future during development.