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

Sanity check fails on @sanity/components 1.150.1 #1975

Closed
allanmc opened this issue Aug 21, 2020 · 1 comment · Fixed by #1977
Closed

Sanity check fails on @sanity/components 1.150.1 #1975

allanmc opened this issue Aug 21, 2020 · 1 comment · Fixed by #1977

Comments

@allanmc
Copy link

allanmc commented Aug 21, 2020

After upgrading to @sanity/components 1.150.1, sanity checks fails with the following error:

allanmc@/cms$ sanity versions
@sanity/cli                 1.150.1 (up to date)
@sanity/base               1.149.19 (latest: 1.150.1)
@sanity/cli                 1.150.1 (up to date)
@sanity/components         1.149.19 (latest: 1.150.1)
@sanity/core                1.150.1 (up to date)
@sanity/default-layout     1.149.19 (latest: 1.150.1)
@sanity/default-login       1.150.1 (up to date)
@sanity/desk-tool          1.149.19 (latest: 1.150.1)
@sanity/google-maps-input   1.150.1 (up to date)
@sanity/vision              1.150.1 (up to date)
allanmc@/cms$ sanity upgrade

✔ Saved lockfile

✔ Modules upgraded:
@sanity/base            1.149.19 → 1.150.1
@sanity/components      1.149.19 → 1.150.1
@sanity/default-layout  1.149.19 → 1.150.1
@sanity/desk-tool       1.149.19 → 1.150.1
allanmc@/cms$ sanity check

Error:  * Part "part:@sanity/components/toggles/switch-style" was attempted to be implemented by "/cms/node_modules/@sanity/components/lib/toggles/styles/Switch.css", which does not seem to exist. Check "@sanity/components" and keep in mind that paths in Sanity are case-sensitive.
 * Part "part:@sanity/components/toggles/checkbox-style" was attempted to be implemented by "/cms/node_modules/@sanity/components/lib/toggles/styles/Checkbox.css", which does not seem to exist. Check "@sanity/components" and keep in mind that paths in Sanity are case-sensitive.
 * Part "part:@sanity/components/radiobutton/default-style" was attempted to be implemented by "/cms/node_modules/@sanity/components/lib/radiobutton/styles/RadioButtonDefault.css", which does not seem to exist. Check "@sanity/components" and keep in mind that paths in Sanity are case-sensitive.
    at throwOnErrors (/cms/node_modules/@sanity/check/src/sanityCheck.js:47:17)
    at /cms/node_modules/@sanity/check/src/sanityCheck.js:36:22
@kmelve
Copy link
Member

kmelve commented Aug 21, 2020

Thanks for reporting! We'll look into it – stay tuned!

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

Successfully merging a pull request may close this issue.

2 participants