-
Notifications
You must be signed in to change notification settings - Fork 258
Description
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

❯ 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
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
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