Skip to content

Webcontainer API: Won't start node.js server #986

@archiewood

Description

@archiewood

Describe the bug

Excitedly trying out the web containers API 🎉

I have a project that works in vanilla stackblitz and I’m trying to create a webcontainer API version of it using the new tutorial.

It installs the deps fine, and then chokes on “npm run dev” somehow - it just gets stuck on "installing deps"

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-x3wklg?file=main.js

Steps to reproduce

Go to Stakblitz Link and wait for the webcontainer to boot

Expected behavior

I expected the node app to boot in the RHS of the window

Parity with Local

Screenshots

image

Platform

Browser name  = Chrome
Full version  = 110.0.0.0
Major version = 110
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 83773299,
  "usedJSHeapSize": 81256543,
  "jsHeapSizeLimit": 4294705152
}
Hash = abcb1808b9d66cb4c839249966f76781042b9b08

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions