Studio not launching from platform

Hello,

I followed these instructions to launch studio from the Yext platform. I am receiving the attached error after clicking “View Live Preview” in the code editor. I’ve waited a few minutes and still get the same error. Can someone please advise?

sandbox account

Hi Zoe,

Can you open the console for your code editor session and see if there are any further details?
image

Also, does your ci.json and package.json exactly match what is in the Studio starter here here?

There are a few configuration options in there which are required for a successful launch in platform.

Let me know how it goes!

Thanks,
Andrew

Hey Andrew,

Below is what the console says. I upgraded the Yext CLI. I also attached the differences I found in the starter you linked and what the code editor shows. Should I update the code editor and commit those changes to match the starter?

Console:

ci.json starter vs. code editor
Screenshot 2023-08-07 at 8.45.30 AM

package.json vs code editor
Screenshot 2023-08-07 at 8.50.27 AM

Screenshot 2023-08-07 at 8.51.53 AM
Screenshot 2023-08-07 at 8.52.02 AM

Thanks,
Zoe

Hi Zoe,

The version you have deployed (0.7.0) does not support running Studio in the platform.

I recommend updating to the latest version of the @yext/studio and @yext/studio-plugin and then deploying your new site. Then try opening it through the code editor again.

Thanks,
Andrew

Hi Andrew,

How do I make these updates?

Thanks,
Zoe

Hi Zoe,

The directions on Hitchhikers provide instructions on how to update your studio and studio-plugin. Here is the link HH Ref Doc.

Thanks and best,
Andrew