Skip to content

issue installing dependencies #1966

@Isaac-webgenius

Description

@Isaac-webgenius

Describe the bug

i always get the error "npm error u.toSorted is not a function
npm error A complete log of this run can be found in: /home/.npm/_logs/2025-09-05T14_05_33_103Z-debug-0.log" when I try to install dependencies and run dev

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-fvw99tu4?file=index.html&terminal=dev

Steps to reproduce

  1. open the project
  2. open the terminal
  3. run npm install && npm run dev

Expected behavior

dependencies get installed and the preview starts working

Parity with Local

Screenshots

No response

Platform

Browser name  = Edge
Full version  = 109.0.0.0
Major version = 109
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.140
performance.memory = {
  "totalJSHeapSize": 67924087,
  "usedJSHeapSize": 65147563,
  "jsHeapSizeLimit": 2107375616
}
Hash = 96435430

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