Need to install the following packages:
sanity@3.62.0
Ok to proceed? (y) y
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: sanity@3.18.1
npm ERR! node_modules/sanity
npm ERR! sanity@"3.62.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! sanity@"3.62.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: styled-components@6.1.13
npm ERR! node_modules/styled-components
npm ERR! peer styled-components@"^6.1" from sanity@3.62.0
npm ERR! node_modules/sanity
npm ERR! sanity@"3.62.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.
Running npm install and npm run dev gives me this error. seems to be failing at the npm run dev:studio stage
Need to install the following packages: sanity@3.62.0 Ok to proceed? (y) y npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: sanity@3.18.1 npm ERR! node_modules/sanity npm ERR! sanity@"3.62.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! sanity@"3.62.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: styled-components@6.1.13 npm ERR! node_modules/styled-components npm ERR! peer styled-components@"^6.1" from sanity@3.62.0 npm ERR! node_modules/sanity npm ERR! sanity@"3.62.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.