Comments (5)
Thanks for the notes @davidric.
Same issue for me... above steps were not a fix. 😕
from stablo.
@gomesdigital have you already install sanity globally before following the step above?
npm install -g @sanity/cli
from stablo.
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.
Global install didn't work for me.
💻 🏕️
- PopOS 22.04
- Node v14.21.1 via NVM
Solved By:
-
Adding as a dependency:
yarn add @sanity/client@^2.11.0
-
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.
It should be fixed in v2 release.
from stablo.
Related Issues (20)
- npm resolution error HOT 1
- CORS origin was not allowed in Sanity HOT 1
- Unable to resolve dependency tree HOT 6
- Error: Configuration must contain `projectId` HOT 10
- generateMetadata inside Layout - empty params HOT 3
- Theme Toggle HOT 1
- Blogs not reflecting HOT 4
- Error on running npm run dev HOT 1
- made a change in sanity blog title, change not reflecting in production HOT 1
- is there a detailed guide available on this starter? HOT 1
- Unrecognized extension value in extension set ([object Object]) HOT 3
- how to change the title HOT 1
- How to Change the OGP Image for Each Post? HOT 1
- May I ask which file should the Google statistics buried point code be placed in? HOT 1
- Error while trying to open the Sanity Studio HOT 6
- Can't change headings font - how to do that? HOT 1
- Issue in Build HOT 3
- Image loading issue on production HOT 1
- /studio/desk error on production HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stablo.