Jòan's Avatar

Jòan

@nemikolh

Working on WebContainers at @stackblitz • 2ndLook - https://2ndlook.apero-games.com/ • Father of two Married to @kurouba.bsky.social • https://kurouba.art

90
Followers
97
Following
11
Posts
06.11.2024
Joined
Posts Following

Latest posts by Jòan @nemikolh

Oh interesting, it seems to work for me here.

Out of curiousity, do you also get that issue when typing in the terminal at xtermjs.org?

19.02.2025 10:30 👍 0 🔁 0 💬 0 📌 0

If it doesn't work then this is an infra issue. If it works with curl then it's a chrome configuration issue.

09.02.2025 17:13 👍 0 🔁 0 💬 1 📌 0

It helps a lot! So the main error you have that's preventing previews from working is this one:

TypeError: Failed to register a ServiceWorker

Can you maybe try to curl the script directly?

qg3jx5gm6dk3domip238da2dzi8kiw-cbhg--3000--d20a0a75.local-corp.webcontainer-api.io/.localservic...

09.02.2025 17:12 👍 0 🔁 0 💬 1 📌 0

I might be able to help!

@sj-ra.bsky.social Could you share any error are you seeing? Do you perhaps see an error in the network tab or the console of the Chrome devtools?

06.02.2025 17:05 👍 1 🔁 0 💬 1 📌 0
Preview
bolt.new Prompt, run, edit & deploy web apps

If you like what we are doing on bolt.new, we are hiring. I'd love to talk to you. If you're interested, feel free to send me a DM.

03.12.2024 13:04 👍 67 🔁 15 💬 4 📌 1

I totally agree with you.

It might be possible to tweak the system prompt so that in those cases, it explains what it does.

Actually, we should be able to verify whether that would work or not. If you ask it what services / domains it configured, does it tell you?

25.11.2024 20:32 👍 0 🔁 0 💬 1 📌 0

We definitely take suggestions!! 🙌 And good question!

I'm not quite sure to be honest. What would you expect it to tell you? Like guide you how to configure subdomains on a domain registrar?

25.11.2024 20:24 👍 0 🔁 0 💬 1 📌 0

If you didn't previously deployed this application with bolt, I think it won't work. However, @samverschueren.bsky.social think we could easily make it work.

22.11.2024 15:12 👍 0 🔁 0 💬 1 📌 0

If you previously deployed this application with bolt, then yes it will work!! 🙌

22.11.2024 15:07 👍 1 🔁 0 💬 0 📌 0
Bolt Office Hours: Week 5
Bolt Office Hours: Week 5 YouTube video by StackBlitz

It will work!

We tested it live yesterday during Bolt Office Hours! You have to make sure you've connected your account in Settings > Applications.

youtu.be/6Xyo-154X6s?...

21.11.2024 11:34 👍 1 🔁 0 💬 1 📌 0

Oh, that first screenshot hinted me at the issue!

TanStack docs have a bug with their link to stackblitz because the URL includes the `embed=1` query parameter which is only intended to be used in embeds.

Remove it and it should work 😃

(tbf, I think we can and should fix that on our side)

13.11.2024 16:53 👍 1 🔁 0 💬 1 📌 0

Hey @andri.dk! It should work, I'm on Ubuntu and use StackBlitz (& WebContainers) on Firefox.

Could you be using Firefox in private mode? Or maybe have cookies set as Custom? This sometimes prevent the service worker from being installed.

See developer.stackblitz.com/platform/web...

12.11.2024 19:58 👍 0 🔁 0 💬 2 📌 0