Bug with local version of Sanity.io, resolved by running "sanity install" command.
8 replies
Last updated: May 10, 2022
A
Hello everyone, have you ever encountered this bug before? I have it only on my local version.
Apr 22, 2022, 10:18 AM
A
It popped out out of nowhere
Apr 22, 2022, 10:18 AM
A
Thank you for your reply User, it look like running a
sanity installcommand has fixed the issue.I didn’t touch any of the schema and this error just popped out of nowhere
Apr 25, 2022, 6:04 AM
A
Dear User, it happened again without me touching anything. As before, I had to cancel node_modules, run sanity install and the problem is gone.Do you have any other dev that has this kind of problem?
Apr 28, 2022, 8:01 AM
A
This is my package.json file:
{ "name": "sanity-bold-cms-starter", "private": true, "version": "1.0.0", "description": "", "main": "package.json", "author": "Tim Kousadianos <tim.kousadianos@bold.ch>", "license": "UNLICENSED", "scripts": { "start": "sanity start --port 5000", "test": "sanity check", "build": "sanity build" }, "keywords": [ "sanity" ], "dependencies": { "@reach/auto-id": "^0.15.0", "@sanity/base": "^2.29.2", "@sanity/client": "^2.23.2", "@sanity/components": "^2.14.0", "@sanity/core": "^2.28.1", "@sanity/default-layout": "^2.29.2", "@sanity/default-login": "^2.29.2", "@sanity/desk-tool": "^2.29.2", "@sanity/document-internationalization": "^0.1.4", "@sanity/form-builder": "^2.29.2", "@sanity/image-url": "^1.0.1", "@sanity/ui": "^0.34.6", "@sanity/vision": "^2.29.2", "prop-types": "^15.7", "react": "^17.0", "react-dom": "^17.0", "react-icons": "^4.1.0", "rxjs": "^7.3.0", "sanity": "^2.2.6", "sanity-plugin-color-list": "^2.0.1", "sanity-plugin-intl-input": "^5.2.1", "sanity-plugin-media": "^1.4.4", "sanity-plugin-vision": "^2.0.7", "styled-components": "^5.3.1" }, "devDependencies": { "css-loader": "^5.2.6" } }
Apr 28, 2022, 8:03 AM
A
user M
do you have any clue on the reason this might happen?May 10, 2022, 12:46 PM
A
It preventing us to use Sanity and I think this is a core functionallity for us.
May 10, 2022, 12:47 PM
It's hard to say since I haven't seen your code and don't know what actions lead up to this. I'd also suggest upgrading to the latest version.
May 10, 2022, 4:59 PM
Sanity– build remarkable experiences at scale
Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.