-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Dynamic import cannot be analyzed by Vite #1130
Comments
same problem here... thks. |
I have the same issue. Wouldn't be possible to add /vite-ignore/ where there is /webpack-ignore/? |
relevant for this topic: ng2-pdf-viewer can't do anything helpful here. |
It’s unfortunate that this error can’t be resolved at the moment. Does anyone have suggestions on how to instruct the compiler to safely ignore this issue? Thanks in advance for any insights! |
This issue does not belong here, the error comes from pdfjs. See mozilla/pdf.js#19077 This should be closed |
@tehdb - Just to confirm, while you get this error in the local dev server, you are not getting it in a production build? We just upgraded to Angular v.19 and started seeing this error... |
On angular's dev-server start getting the following warning in the console:
rm -rf node-modules package-lock.json .angular && npm install
did not help.Everything else seems to work fine, the production build completes without any warnings, and the PDF preview works as expected.
The text was updated successfully, but these errors were encountered: