Skip to content

NPM Error while installing Sanity Studio v3 #3361

Discussion options

You must be logged in to vote

Thanks for the answers. The working solution was by @olehhe.

Steps:

  1. npm install @sanity/cli@dev-preview
  2. npx @sanity/cli@dev-preview --version
  3. npx @sanity/cli@dev-preview init
  4. Choose npm as runtime over yarn on Windows OS.

I noticed that choosing Yarn runtime in a windows environment triggers a cli error for the basepath when I run yarn start.

Credits to @olehhe again for helping me.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@jozefini
Comment options

@jozefini
Comment options

@olehhe
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jozefini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants