Skip to content

erro npm install & npm run #1807

@dgarauj04

Description

@dgarauj04

Describe the bug

Ao inciar ou criar qualquer projeto ele apresenta erro e nao inicia o projeto corretamente, criar as pastas e arquivos ainda é possivel mas nao é possivel fazer o npm install e npm run, apresentando assim um npm 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-04-05T00_12_53_019Z-debug-0.log

Link to the blitz that caused the error

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

Steps to reproduce

  1. Clique em novo projeto
  2. Escolha o tipo que deseja, react, html, python
  3. deixe carregar normalmente que ao iniciar o projeto automaticamnete apresenta npm install & npm run
  4. o erro aparecerera 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-05T00_12_53_019Z-debug-0.log

Expected behavior

Comportamento esperado é de funcionar normalmente instalando as dependencias e rodando o projeto assim apresentando ele

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": 66065465,
  "usedJSHeapSize": 61507809,
  "jsHeapSizeLimit": 2106589184
}
Hash = d8d5874e

Additional context

tentei usar a Ia do proprio stackblitz mas o problema persistiu

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