Open manchakkay opened 6 months ago
Start a new pull request in StackBlitz Codeflow.
The reproduction doesn't run because of missing files. Would you be able to make it more minimal and ensure it reproduces the issue? 🙏
Would you be able to provide a reproduction? 🙏
Here is another attempt to reproduce the error, but as I see outside the server everything starts successfully https://stackblitz.com/~/github.com/manchakkay/nuxt-rh64j235l
Therefore, it turns out to rely only on the error log, however, I understand very little from it and have difficulty understanding the relationship with one of the my files
So, a little clarification:
There was a small error in the vue file of the page, but it was only possible to view it in preview mode
The original error is as expected:
500 Cannot read properties of undefined (reading 'sort')
In dev mode, any error is replaced with:
500 Cannot set properties of null (setting '__vrv_devtools')
If the error occurs without restarting the server (in dev mode), it will be shown in the required format, but if the error is not fixed, then after restarting the server (as it was after installing the package), this screen will pop up
I encountered the same issue in my environment. The error occurs on the initial startup after deleting the node_modules/.cache/vite
directory. However, the error does not occur when restarting the application.
Update: I was able to reproduce the issue by specifically deleting the node_modules/.cache/vite/client/deps/_metadata.json
file.
Environment
Reproduction
StackBlitz fork with important files
I can't share the entire project, but I'll be happy to send individual files of interest if it helps solve the problem
Describe the bug
After importing the vue-multiselect library, an error began to occur on every page of the site, this has happened dozens of times before, but the problem magically disappeared or was replaced by another more serious one (see Additional Context)
It looks like a problem with DevTools, but none of the attempts to disable it in development mode have been successful, both in terms of disabling DevTools and in terms of fixing the error.
Additional context
The problem only appears in the browser window, I tried to localize the individual file causing the problem. I can point out that the problem is not related to the /server and /pages directories and is most likely either in the dependencies or in the nuxt.config.ts configuration.
In addition to this, I also previously encountered the “isCE” (https://github.com/nuxt/nuxt/issues/13117) problem, which was solved through “optimizeDeps”
Actions like clearing the cache, regenerating or reinstalling previously did not help
Logs