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
Lots of warnings printed when using Vite #12574
Comments
This kind of warnings is produced by SSR-analysis performed by Vite when a missing dependency is discovered. We don't use SSR so I reported this in a Vite issue that no SSR-related work should take place when the |
This kind of warnings is shown because of a race condition that sometimes occurs when the pre-bundling process begins at nearly the same time as an HTTP request to the previously pre-bundled dependency. Reported this in a Vite issue. |
Let's wait for vitejs/vite#6758 to get merged as it will fix the race condition and hence warnings:
|
This ticket/PR has been released with Vaadin 23.1.0.alpha1 and is also targeting the upcoming stable 23.1.0 version. |
Description of the bug
There seems to be three types of warnings printed when starting a project using Vite for the first time:
[vite] Failed to load source map for /@fs/.../target/flow-frontend/VaadinDevmodeGizmo.js.
(Fixed)@vaadin/accordion is incorrectly packaged. Please contact the package author to fix.
(Fixed)[vite] Failed to load source map for /@fs/.../node_modules/.vite/chunk-HYXO6NXE.js?v=7f5865f8.
While all of the warnings are harmless we still need to fix them
package.json
in our components and potentially ignore the warning for@polymer/*
The text was updated successfully, but these errors were encountered: