webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Failed to install dependencies

Open ilakkmanoharan opened this issue 3 months ago • 0 comments

Describe the bug

Failed to install dependencies ❯ npm install && npx next dev npm error code ERR_INVALID_PROTOCOL npm error Protocol "https:" not supported. Expected "http:" npm error A complete log of this run can be found in: /home/.npm/_logs/2025-10-02T01_07_49_095Z-debug-0.log

Image

Codemode error.pdf

❯ npm install npm error code ERR_INVALID_PROTOCOL npm error Protocol "https:" not supported. Expected "http:" npm error A complete log of this run can be found in: /home/.npm/_logs/2025-10-02T01_22_38_168Z-debug-0.log

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-8mnj4kr8?file=app%2Flayout.tsx

Steps to reproduce

Open the project. After Booting WebContainer, you will see the 'Installing dependencies' in red with the following message:

Failed to install dependencies

Booting WebContainer Installing dependencies Running start command

Expected behavior

dependencies should be installed succesfully.

Parity with Local

Screenshots

Codemode error.pdf

Platform

Browser name  = Safari
Full version  = 18.6
Major version = 18
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15
performance.memory = undefined
Hash = 96435430

Additional context

No response

ilakkmanoharan avatar Oct 02 '25 01:10 ilakkmanoharan