stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.7k stars 139 forks source link

No console bar #1345

Closed mamiabudat closed 4 months ago

mamiabudat commented 4 months ago

Describe the bug

No console tray at the bottom of the webview when you create a new vanilla javascript project

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-rw8cyj?file=index.html&terminal=dev

Steps to reproduce

  1. Go to stackblitz homepage
  2. create a new vanilla javascript project from the template
  3. Webview is on the right side, bottom of the webview used to be the console tray.

Expected behavior

Console tray was useful and handy. Instead of referring to the browser console.

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 120.0.0.0
Major version = 120
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 64829156,
  "usedJSHeapSize": 61067296,
  "jsHeapSizeLimit": 4294705152
}
Hash = 6f234770

Additional context

It was used to be simple before with firebase extension plugged but now it uses a server from vite

Nemikolh commented 4 months ago

Hey @mamiabudat ! :wave:

We recently sunsetted our EngineBlock starters in favor of having new ones powered by WebContainer and Vite (which provide more flexibility for users that want access to the terminal).

You can see this comment for more information.

TL;DR: Open the preview in a separate tab and Ctrl+Shift+I (Option + ⌘ + I on macOS) -> to see the console.