Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm i fails for latest @mui/material: @mui/[email protected] (published two hours ago) depends on @mui/[email protected] (does not exist; most recent version is 6.1.0 published 7 days ago) #44725

Closed
alexanderbird opened this issue Dec 11, 2024 · 2 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@alexanderbird
Copy link

alexanderbird commented Dec 11, 2024

Steps to reproduce

Probably this only happens for a short period (a few hours?) after publishing a new version of @mui/material

Steps:

  1. Create an empty directory with an empty package.json (e.g. echo "{}" > package.json)
  2. npm i react react-dom
  3. npm i @mui/[email protected]

Current behavior

  1. I'm trying this 2 hours after @mui/[email protected] was published
  2. When I run npm i @mui/[email protected] I get npm error notarget No matching version found for @mui/core-downloads-tracker@^6.2.0
  3. On npm I can see that @mui/[email protected] was published two hours ago, but @mui/core-downloads-tracker was last published 7 days ago and the current version is 6.1.0

Expected behavior

When I run npm i @mui/material two hours after the latest @mui/material is published (or 10 seconds after it is published, for that matter), I would expect the installation to work.

Context

I'm trying to install @mui/material for the first time in a new repo.

Your environment

This happens when installing @mui/material, so there is no environment yet. Here is my node environment:

 /tmp/scratch > npm -v
10.9.2
 /tmp/scratch > node -v
v20.11.1

Related

It looks like I'm not the first person to experience this: #34394

Wild Speculation

I wonder if you have a timing issue with your deployment pipeline -- is @mui/core-downloads-tracker being published after @mui/material?

Search keywords: installation dependency notarget

@alexanderbird
Copy link
Author

I've just had the same issue with @mui/icons-material: I can install @mui/[email protected] but when I run npm i @mui/icons-material it fails with the same error as above -- no 6.2.0 for @mui/core-downloads-tracker

@mj12albert mj12albert removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 11, 2024
@mj12albert mj12albert self-assigned this Dec 11, 2024
@mj12albert
Copy link
Member

Duplicate of #44724

@mj12albert mj12albert marked this as a duplicate of #44724 Dec 11, 2024
@github-actions github-actions bot added the duplicate This issue or pull request already exists label Dec 11, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants