Skip to content

error in Installing dependencies in Webcontainer #1847

@jhiguerafonseca

Description

@jhiguerafonseca

Describe the bug

~/projects/stackblitz-starters-vftbz8ft
❯ 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-04-30T19_25_52_890Z-debug-0.log

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-vftbz8ft?description=An%20angular-cli%20project%20based%20on%20@angular/animations,%20@angular/common,%20@angular/compiler,%20@angular/core,%20@angular/forms,%20@angular/platform-browser,%20@angular/platform-browser-dynamic,%20@angular/router,%20core-js,%20rxjs,%20tslib%20and%20zone.js&file=package.json&template=node&title=Angular%20Starter

Steps to reproduce

1 new project
2 angular template

Expected behavior

install dependencies

Parity with Local

Screenshots

No response

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": 89562226,
  "usedJSHeapSize": 85046038,
  "jsHeapSizeLimit": 4294705152
}
Hash = d4eba4a9

Additional context

No response

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