material-ui: [TreeView][lab] Unable to update @mui/lab@5.0.0-alpha.143

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Link to live example:

Steps:

  1. $npm outdated
  2. $npm update --save

Current behavior 😯

$ npm outdated Package Current Wanted Latest Location Depended by @mui/lab 5.0.0-alpha.142 5.0.0-alpha.143 5.0.0-alpha.143 node_modules/@mui/lab nextjs-v01 $ npm update --save npm ERR! code ECONNRESET npm ERR! syscall read npm ERR! errno ECONNRESET npm ERR! network request to https://pkg.csb.dev/mui/mui-x/commit/1f23b33d/@mui/x-tree-view failed, reason: read ECONNRESET npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings.

Expected behavior 🤔

should be updated

Context 🔦

No response

Your environment 🌎

npx @mui/envinfo
  System:
    OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
  Binaries:
    Node: 18.17.1 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 10.0.0 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
  npmPackages:
    @emotion/react: ^11.11.1 => 11.11.1 
    @emotion/styled: ^11.11.0 => 11.11.0 
    @mui/base: ^5.0.0-beta.14 => 5.0.0-beta.14 
    @mui/core-downloads-tracker:  5.14.8 
    @mui/lab: ^5.0.0-alpha.142 => 5.0.0-alpha.142 
    @mui/material: ^5.14.8 => 5.14.8 
    @mui/private-theming:  5.14.8 
    @mui/styled-engine:  5.14.8 
    @mui/system: ^5.14.8 => 5.14.8 
    @mui/types:  7.2.4 
    @mui/utils:  5.14.8 
    @mui/x-date-pickers: ^6.10.2 => 6.12.1 
    @types/react:  18.2.21 
    react: 18.2.0 => 18.2.0 
    react-dom: 18.2.0 => 18.2.0 
    typescript: ^5.2.2 => 5.2.2 

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Reactions: 2
  • Comments: 17 (9 by maintainers)

Most upvoted comments

Your simplest option is to just downgrade @mui/lab to the previous alpha (142)

Is there something preventing you from downgrading to the alpha 142?

Downgrading to alpha 142 has resolved the issue. Thanks.

@mnajdova, can we wait for next week’s release, or is it necessary to release another version of the lab immediately?

We can wait for the next release, I don’t think this is something super urgent.

Oh no… I merged the PR with the codesandbox.io package link… I’ll do a fix, then sorry but you’ll have to re-release an alpha for the lab 😕 Maybe the user install is failing because of some firewall not allowing the DL from codesandbox, but we should clearly not keep it as is.

I am running into this as well, but we are using yarn v3 so our error message is slightly different:

yarn up @mui/lab
➤ ┌ Resolution step
➤ │ Error: @mui/x-tree-view@https://pkg.csb.dev/mui/mui-x/commit/1f23b33d/@mui/x-tree-view isn't supported by any available resolver
    at kf.getResolverByDescriptor (/.../.yarn/releases/yarn-3.6.1.cjs:391:1647)
    at kf.bindDescriptor (/.../.yarn/releases/yarn-3.6.1.cjs:391:1036)
    at _ (/.../.yarn/releases/yarn-3.6.1.cjs:439:7240)
➤ └ Completed in 0s 359ms
➤ Failed with errors in 0s 362ms