Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use npx @sanity/cli init --template shopify with the next.js embedded studio option #6625

Closed
joperron opened this issue May 10, 2024 · 0 comments

Comments

@joperron
Copy link

joperron commented May 10, 2024

Describe the bug

We can't initialize an embedded studio that uses the shopify template in a next.js project, standalone works fine though

To Reproduce

Steps to reproduce the behavior:

  1. create a project with yarn create next-app
  2. cd into your new project
  3. run @sanity/cli init --template shopify -- project [redacted] --dataset production
  4. Yes, Yes, Yes, Yes, ./studio
  5. At Select project template to use you can see it asks you for a template, so you know it didn't use the shopify one
  6. follow the rest of the steps
  7. look at the schema, no shopify types! :'(

Expected behavior

Would be cool to be able to use the cli to do this, not sure if this is a bug or a feature request honestly

Which versions of Sanity are you using?

@sanity/cli (global) 3.41.1 (up to date)

What operating system are you using?

macOS 14.4.1

Which versions of Node.js / npm are you running?

10.5.2
v20.13.0

Thank you

@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant