You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Headers is not defined
at async ESMLoader.import (https://httpsstackblitzwebcontainerapi-xmpu.w-corp.staticblitz.com/blitz.e0a2bd6c.js:35:1312908)
at async i.loadESM (https://httpsstackblitzwebcontainerapi-xmpu.w-corp.staticblitz.com/blitz.e0a2bd6c.js:35:315880)
at async handleMainPromise (https://httpsstackblitzwebcontainerapi-xmpu.w-corp.staticblitz.com/blitz.e0a2bd6c.js:35:1079787)
I think #560 is being used a top level tracking issue for Node 18 support in WebContainers (including fetch and friends), so might be worth following along there.
Describe the bug
When I run
node index.js
, throw a error:Link to the blitz that caused the error
https://stackblitz.com/edit/stackblitz-webcontainer-api-starter-with-terminal-g5jtqs?file=files.js
Steps to reproduce
pnpm i && node index.js
in TerminalExpected behavior
Normal output fetch results
Parity with Local
Screenshots
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: