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
❯ curl -sL https://deno.land/install.sh | shcurl: socket hang up
Inspecting network traffic for the browser document via DevTools reveals that the first issue is a CORS issue:
Access to fetch at 'https://deno.land/install.sh' from origin 'https://something.w-credentialless-staticblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The shell (/bin/jsh/) appears to have limited functionality but as Stackblitz supports Node.js it seems to me that supporting Deno should also be feasible.
Does this require some specific work on Stackblitz's side to support Deno? (I'm sure folks would like Bun too.)
Version = 1.84.0
Hash = 3b0b7194bc6b567c2eaf4c96a5759098469dcf59
WebContainer = d3acb9e1
Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 88494600,
"usedJSHeapSize": 80563792,
"jsHeapSizeLimit": 4294705152
}
Additional context
An alternative to supporting Deno installation would be for it to be installed out-of-the-box like Node.js is. This might be simpler in some ways but I'd want a way to specify which Deno version to load.
The text was updated successfully, but these errors were encountered:
Describe the bug
Attempting to install Deno fails immediately:
Inspecting network traffic for the browser document via DevTools reveals that the first issue is a CORS issue:
I then tried pasting the contents of https://deno.land/install.sh into a file and running it directly:
For reference (and as the install.sh script might change with time), here is line 7:
The shell (
/bin/jsh
/) appears to have limited functionality but as Stackblitz supports Node.js it seems to me that supporting Deno should also be feasible.Does this require some specific work on Stackblitz's side to support Deno? (I'm sure folks would like Bun too.)
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/denoland/std
Steps to reproduce
sh install.sh
Expected behavior
Deno is successfully installed.
Parity with Local
Screenshots
No response
Platform
Additional context
An alternative to supporting Deno installation would be for it to be installed out-of-the-box like Node.js is. This might be simpler in some ways but I'd want a way to specify which Deno version to load.
The text was updated successfully, but these errors were encountered: