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

Need to bump @sanity/ui version #22

Open
russellmacshane opened this issue Jan 6, 2022 · 1 comment
Open

Need to bump @sanity/ui version #22

russellmacshane opened this issue Jan 6, 2022 · 1 comment

Comments

@russellmacshane
Copy link

russellmacshane commented Jan 6, 2022

The plugin is stuck on @sanity/ui@"^0.33.10, please bump this version to avoid dependency clashes. Project will run after removing sanity-plugin-table from package.json and then running sanity install table, but will fail when just doing an npm ci with sanity-plugin-table installed.

package.json

{
  "name": "nxdemo",
  "private": true,
  "version": "1.0.0",
  "description": "",
  "main": "package.json",
  "author": "REDACTED <redacted@redacted.com>",
  "license": "UNLICENSED",
  "scripts": {
    "start": "sanity start",
    "build": "sanity build",
    "login": "sanity login",
    "graphql-deploy": "sanity graphql deploy",
    "deploy": "sanity deploy"
  },
  "keywords": [
    "sanity"
  ],
  "dependencies": {
    "@sanity/base": "^2.23.3",
    "@sanity/cli": "^2.23.3",
    "@sanity/code-input": "^2.23.3",
    "@sanity/components": "^2.14.0",
    "@sanity/core": "^2.23.2",
    "@sanity/default-layout": "^2.23.3",
    "@sanity/default-login": "^2.23.2",
    "@sanity/desk-tool": "^2.23.4",
    "@sanity/vision": "^2.23.3",
    "prop-types": "^15.8",
    "react": "^17.0",
    "react-dom": "^17.0",
    "sanity-plugin-table": "^2.3.0",
    "styled-components": "^5.3.3"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:REDACTED/redacted.git"
  }
}

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: nxdemo@1.0.0
npm ERR! Found: @sanity/ui@0.36.17
npm ERR! node_modules/@sanity/ui
npm ERR!   @sanity/ui@"^0.36.17" from @sanity/base@2.23.3
npm ERR!   node_modules/@sanity/base
npm ERR!     @sanity/base@"^2.23.3" from the root project
npm ERR!     @sanity/base@"2.23.3" from @sanity/code-input@2.23.3
npm ERR!     node_modules/@sanity/code-input
npm ERR!       @sanity/code-input@"^2.23.3" from the root project
npm ERR!     6 more (@sanity/default-layout, @sanity/desk-tool, ...)
npm ERR!   @sanity/ui@"^0.36.17" from @sanity/code-input@2.23.3
npm ERR!   node_modules/@sanity/code-input
npm ERR!     @sanity/code-input@"^2.23.3" from the root project
npm ERR!   6 more (@sanity/default-layout, @sanity/default-login, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! sanity-plugin-table@"^2.3.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @sanity/ui@0.33.29
npm ERR! node_modules/@sanity/ui
npm ERR!   peer @sanity/ui@"^0.33.10" from sanity-plugin-table@2.3.0
npm ERR!   node_modules/sanity-plugin-table
npm ERR!     sanity-plugin-table@"^2.3.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.
npm ERR! 
npm ERR! See /home/russ/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/russ/.npm/_logs/2022-01-06T21_30_49_239Z-debug-0.log

Looks like #20 will take care of this.

@russellmacshane russellmacshane changed the title Need to bump Need to bump @sanity/ui version Jan 6, 2022
@Rads92
Copy link

Rads92 commented Feb 23, 2022

Hello, any updates on PR?

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

2 participants