Giter Site home page Giter Site logo

Comments (5)

gomesdigital avatar gomesdigital commented on July 30, 2024

Thanks for the notes @davidric.

Same issue for me... above steps were not a fix. 😕

from stablo.

davidric avatar davidric commented on July 30, 2024

@gomesdigital have you already install sanity globally before following the step above?

npm install -g @sanity/cli

from stablo.

surjithctly avatar surjithctly commented on July 30, 2024

Thanks @davidric

I will make a note of this for the next update.

@gomesdigital Could you elaborate your issue with screenshot or error message?

from stablo.

gomesdigital avatar gomesdigital commented on July 30, 2024

Global install didn't work for me.

💻 🏕️

  • PopOS 22.04
  • Node v14.21.1 via NVM

Solved By:

  1. Adding as a dependency:
    yarn add @sanity/client@^2.11.0

  2. Updating import script in package.json from:
    "import": "sanity dataset import .sanity-template/data/production.tar.gz production",

    to:
    "import": "cd studio && sanity dataset import ../.sanity-template/data/production.tar.gz production",
    as @davidric mentions.

Cheers. 🙌

from stablo.

surjithctly avatar surjithctly commented on July 30, 2024

It should be fixed in v2 release.

from stablo.

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.