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

Could not resolve "@popperjs/core" #42965

Closed
ArmandRedgate opened this issue Jul 16, 2024 · 1 comment
Closed

Could not resolve "@popperjs/core" #42965

ArmandRedgate opened this issue Jul 16, 2024 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@ArmandRedgate
Copy link

ArmandRedgate commented Jul 16, 2024

Steps to reproduce

Link to live example: (required)

Steps:

  1. Set up a new MUI project with the official instructions, specifically with version 5.16.2 (older versions are fine)
  2. Use a Tooltip

Current behavior

Since the update to v5.16.2, I get errors like:

Could not resolve "@popperjs/core"

in vite and

Error: Cannot find module '@popperjs/core'
Require stack:
- /root/project/web-client/node_modules/@mui/material/node/Popper/BasePopper.js
- /root/project/web-client/node_modules/@mui/material/node/Popper/Popper.js
- /root/project/web-client/node_modules/@mui/material/node/Popper/index.js
- /root/project/web-client/node_modules/@mui/material/node/Tooltip/Tooltip.js
- /root/project/web-client/node_modules/@mui/material/node/Tooltip/index.js
 ❯ Object.<anonymous> node_modules/@mui/material/node/Popper/BasePopper.js:13:13

in tests.

This may be related to #42917. I should note that my package.json does not include @mui/base.

Expected behavior

No (new) errors

Context

No response

Your environment

npx @mui/envinfo System: OS: Windows 11 10.0.22631 Binaries: Node: 21.5.0 - C:\Program Files\nodejs\node.EXE npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD pnpm: Not Found Browsers: Chrome: Not Found Edge: Chromium (126.0.2592.102) npmPackages: @emotion/react: 11.10.6 @emotion/styled: 11.10.6 @mui/core-downloads-tracker: 5.16.2 @mui/icons-material: 5.16.1 => 5.16.1 @mui/material: 5.16.2 => 5.16.2 @mui/private-theming: 5.16.2 @mui/styled-engine: 5.16.2 @mui/system: 5.16.2 @mui/types: 7.2.15 @mui/utils: 5.15.14 @mui/x-data-grid: 7.10.0 @mui/x-data-grid-pro: 7.10.0 => 7.10.0 @mui/x-internals: 7.10.0 @mui/x-license: 7.10.0 @types/react: 18.3.3 => 18.3.3 react: 18.3.1 => 18.3.1 react-dom: 18.3.1 => 18.3.1 typescript: 5.5.3 => 5.5.3

Search keywords: popperjs module mui-base

@ArmandRedgate ArmandRedgate added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jul 16, 2024
@zannager zannager added the component: Popper The React component. See <Popup> for the latest version. label Jul 16, 2024
@DiegoAndai DiegoAndai assigned DiegoAndai and unassigned mj12albert Jul 16, 2024
@DiegoAndai DiegoAndai added duplicate This issue or pull request already exists and removed component: Popper The React component. See <Popup> for the latest version. status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jul 16, 2024
@DiegoAndai
Copy link
Member

Hey everyone, thanks for the report. We're aware of the issue and working on it. Marking as duplicate of #42957

@DiegoAndai DiegoAndai closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 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

4 participants