Skip to content

Error while installing dependencies #2004

@Deeptarka1101

Description

@Deeptarka1101

Describe the bug

I was trying to open the WebContainer and an error occurred. It failed to install dependancies.

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-a4yejcak?file=package.json

Steps to reproduce

1.Open the link provided.
2.Try to open the WebContainer.

Expected behavior

I expected the WebContainer to appear, not show an error that I cannot fix.

Parity with Local

Screenshots

Image

Platform

Browser name  = Chrome
Full version  = 109.0.0.0
Major version = 109
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 107431322,
  "usedJSHeapSize": 89489714,
  "jsHeapSizeLimit": 2172649472
}
Hash = cf284e50

Additional context

~/projects/stackblitz-starters-a4yejcak
❯ npm install && npm start
npm error u.toSorted is not a function
npm error A complete log of this run can be found in: /home/.npm/_logs/2025-11-09T05_33_50_535Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions