Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency issue when running npm run dev #369

Open
IcelandicIcecream opened this issue Oct 23, 2024 · 0 comments
Open

dependency issue when running npm run dev #369

IcelandicIcecream opened this issue Oct 23, 2024 · 0 comments

Comments

@IcelandicIcecream
Copy link

Running npm install and npm run dev gives me this error. seems to be failing at the npm run dev:studio stage

npx sanity@latest exec ./scripts/createInitialDocuments.ts --with-user-token

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.

vishwamartur added a commit to vishwamartur/fluid that referenced this issue Oct 31, 2024
Related to frontvibe#369

Update `sanity` version to resolve dependency conflict.

* **package.json**
  - Update `sanity` version to `3.62.0` in `dependencies`.

* **studio/package.json**
  - Update `sanity` version to `3.62.0` in `dependencies`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant