Giter VIP home page Giter VIP logo

Comments (12)

pixeldust avatar pixeldust commented on June 16, 2024 1

I got the same error this morning after starting a blank Sanity project using sanity init.

I rolled Sanity (and Vision) back to 3.36.0 and the issue went away.

from sanity.

leeuwd avatar leeuwd commented on June 16, 2024 1

Same issue here.
image

from sanity.

Anonymous327 avatar Anonymous327 commented on June 16, 2024 1

MatsCornegoor

Yep! Seems like a bug with 3.36.1.

from sanity.

aquamarineru avatar aquamarineru commented on June 16, 2024 1

I ran into the same problem after the Sanity update. I reinstalled as above to 3.36.0 but nothing changed. The same error is displayed "Uncaught error: Sanity LocaleContext value missing. Is this hook being used outside LocaleContext.Provider?"
"dependencies": {
"@sanity/vision": "^3.36.0",
"react": "^18",
"react-dom": "^18",
"react-icons": "^4.11.0",
"react-is": "^18.2.0",
"sanity": "^3.36.0",
"styled-components": "^6.1.8"
},

from sanity.

cngonzalez avatar cngonzalez commented on June 16, 2024 1

Hello @aquamarineru ! It should be 3.36.2 rather than 3.36.0. You can double-check by running npm ls sanity to verify which version you're running (feel free to put that output in this thread as well)!

You can either change your package.json to:

"dependencies": {
"@sanity/vision": "^3.36.2",
//..the rest of your packages...
"sanity": "^3.36.2",
}

Or use something like https://www.npmjs.com/package/npm-check-updates to update packages.

Please let me know!

from sanity.

tayteboss avatar tayteboss commented on June 16, 2024

I'm getting the same error this morning

from sanity.

kristofferjs avatar kristofferjs commented on June 16, 2024

Me too

from sanity.

MatsCornegoor avatar MatsCornegoor commented on June 16, 2024

I tried rolling back like @pixeldust suggested, but the issue still persists. Could this be a bug inside the dataset? I also created the dataset this morning using sanity cli

from sanity.

rfohlin avatar rfohlin commented on June 16, 2024

I had the same issue, did what @pixeldust suggested and rolled back to 3.36.0 for both Sanity and Sanity Vision.

from sanity.

MatsCornegoor avatar MatsCornegoor commented on June 16, 2024

I tried rolling back like @pixeldust suggested, but the issue still persists. Could this be a bug inside the dataset? I also created the dataset this morning using sanity cli

whoops, I just reinstalled sanity and rolling back to 3.36.0 does work!

from sanity.

cngonzalez avatar cngonzalez commented on June 16, 2024

Hello all! This was indeed a bug in 3.36.1. 3.36.2 was just released, which should hopefully resolve this error.

from sanity.

aquamarineru avatar aquamarineru commented on June 16, 2024

Hello cngonzalez
Thank you very much after updating to the latest version everything worked

from sanity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.