V3 deploy, is it possible yet / are there any docs? #3350
-
Is there any documentation on deployment for v3 as yet? Running the usual Thanks!
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 9 replies
-
It seems you can do You can start exploring safely with |
Beta Was this translation helpful? Give feedback.
-
I added following npm scripts in
So running |
Beta Was this translation helpful? Give feedback.
-
Hey, I recently tried the solutions but I still get this error. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
I had the same issue because I was using import alias I removed it to normal |
Beta Was this translation helpful? Give feedback.
-
If someone have still this issue. i've added to sanity.cli.js the following code: inside export default defineCliConfig({...}) I've added the api object. |
Beta Was this translation helpful? Give feedback.
-
I'm facing this issue still unfortunately. Here's my sanity.cli.js:
And error: Error: I've tried all solutions listed above. Hopefully someone has some ideas! Thanks :) |
Beta Was this translation helpful? Give feedback.
It seems you can do
npx @sanity/cli@dev-preview deploy
, but I've got no further details than trying the command once to see it run.You can start exploring safely with
npx @sanity/cli@dev-preview --version
and take it from there.