Skip to content

Getting errors with the vision and code input plugins #3810

Discussion options

You must be logged in to vote

I was having this too. This thread helped.

Apparently the ^ in "@sanity/vision": "^3.0.0-dev-preview.22" can sometimes pull in the wrong version from NPM.

I replaced "@sanity/vision": "^3.0.0-dev-preview.22" with "@sanity/vision": "3.0.0-dev-preview.22" (no ^), nuked my lock file and node_modules and reinstalled the dependencies and it fixed it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@3200pro
Comment options

@selbekk
Comment options

Answer selected by selbekk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants