All Questions
13
questions
11
votes
3
answers
3k
views
Sanity Studio: Parsing Error for Babel Preset Env
I'm new to working with Sanity, and just set up a project. Everything is working fine, however, in Visual Studio Code, I keep getting a parsing error that won't disappear, and I'm wondering how I can ...
3
votes
2
answers
1k
views
Upstream dependency conflict, npm sanity/client
I'm trying to make a nextjs/sanity project at the moment, and I think I may have installed sanity client twice, but not entirely sure.
This is the error I'm getting in the command terminal:
npm ERR! ...
2
votes
3
answers
5k
views
Vercel Build deply error: npm ERR! ERESOLVE unable to resolve dependency tree - While resolving: [email protected]
[20:19:35.061] Cloning github.com/oneboyfromife/macho-store (Branch: main, Commit: 48072bd)
[20:19:35.209] Previous build cache not available
[20:19:36.082] Cloning completed: 1.020s
[20:19:36.317] ...
1
vote
2
answers
2k
views
Could not resolve dependency with sanity in nextjs app
I am trying to deploy my next.js project, but I keep getting the following error with everything I do:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! ...
1
vote
1
answer
141
views
Node.js not finding the default system root
I was trying to configure sanityCMS on my machine and node.js decided to "forget" the system root. I spent a couple hours trying to fix it and since it decided not to, I went back to my expo ...
1
vote
2
answers
777
views
How to fix error while using sanity init coupon?
I want to build a new project using sanity. I tried this command - npm install -g @sanity/cli and it was successfully installed. But when I tried this command - sanity init --coupon ...
0
votes
1
answer
716
views
npm install -g @sanity/cli commend is not working
I tried to run npm install -g @sanity/cli commend to use Sanity but my return is this..
npm ERR! code EACCES
npm ERR! syscall symlink
npm ERR! path ../lib/node_modules/@sanity/cli/bin/sanity
npm ERR! ...
0
votes
2
answers
5k
views
How do i fix "npm does not support Node.js v12.14.1" when they came from the same LTS download?
Truthfully this has never happened with me on any development environment
My node version: 12.14.1
My npm version: 6.13.4
I was building a Gatsby Site using Sanity.io as a CRM and Im getting this ...
0
votes
2
answers
1k
views
zsh: command not found: sanity
Hi I have installed the Sanity CLI using:
npm install -g @sanity/cli
However when I try sanity init, I get:
zsh: command not found: sanity
it does work when I use:
npx @sanity/cli init
However when I ...
0
votes
1
answer
637
views
sanity upgrade ERROR: Couldn't find package "@babel/plugin-proposal-class-properties@^7.10.4" required by "@sanity/core@^2.18.0"
I'm using fedora Linux when I used sanity upgrade command in my studio folder i had this error :
✖ Resolving dependencies
✖ Couldn't find package "@babel/plugin-proposal-class-properties@^7.10.4&...
0
votes
0
answers
68
views
Trying to setup sanity.io
Every time I use this command 'npm run dev' to open sanity studio, I get this error :
✔ Checking configuration files...
Sanity Studio using [email protected] ready in 1382ms and running at http://localhost:...
0
votes
0
answers
98
views
I'm trying to deploy my site to vercel but it kips giving this error [duplicate]
[15:37:42.508] Cloning github.com/Tomiwakukoyi/shopit (Branch: main, Commit: b447242)
[15:37:42.746] Previous build cache not available
[15:37:42.919] Cloning completed: 411.205ms
[15:37:43.019] ...
-1
votes
1
answer
223
views
I'm getting this error using React Native and Sanity: Unable to resolve "get-random-values-esm" from "sanity\node_modules\sanity\lib\index.js"
I'm using sanity and react-native with expo to create an app. but on the mobile devices I get the error using expo go.
i've tried deleting node_modules folder, and re-intstalling the node_models, i'...