MUI Joy UI Autocomplete crashing my app #42612
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
package: joy-ui
Specific to @mui/joy
status: waiting for author
Issue with insufficient information
Steps to reproduce
Link to repo: https://github.com/jesuschrist-immanuel/stack-overflow-clone
npm i
npm run dev
Current behavior
I am using MUI JoyUI's Autocomplete in a different page than my home page ("/") in my Nextjs app. Nextjs continues raising the error: Module not found: Can't resolve './dom-utils/getCompositeRect.js'.
It's coming from node_modules/@popperjs/core/lib/createPopper.js
There is also no ./modifiers directory like node_modules/@popperjs/core/lib/index.d.ts declares.
There is also no ./utils directory like node_modules/@popperjs/core/lib/createPopper.d.ts declares.
Expected behavior
There was no error previously, and this bug has only been spotlighted in the past week. So far, Nextjs has seemed to ignore this issue.
Context
I use the Autocomplete component in only one page ("/users/all"). Even when I am not accessing the page, Nextjs continues to show this error. Again, there were no major error popups before this week. This has only become recurrent in recent days.
Your environment
npx @mui/envinfo
Search keywords: joyui, autocomplete, nextjs, dom-utils, popperjs
The text was updated successfully, but these errors were encountered: