webcontainer-core
webcontainer-core copied to clipboard
Cannot install node dependency from codeload.github.com
Description of Bug
A "socket hang up" error is thrown when trying to load a JS project which has a node.js dependency at the domain codeload.github.com
Steps to Reproduce
- Go to https://stackblitz.com/github/ask-izzy/ask-izzy/
- Wait for automatically started command
yarn install && npx next devto error out. - Observe in the output that there is a socket hang up when attempting to connect to an address at codeload.github.com
- Curl that address to confirm that it can't be accessed:
curl -v https://codeload.github.com/Jimbly/node-http-proxy/tar.gz/ba0c414cd03799e357c5d867c11dea06a9c34ec8 - Run that same curl command locally to observe that it is not an issue with the address itself:
Expected Behavior
The domain should be accessible.