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

No cached compile metadata found [...] #41

Open
spokospace opened this issue Mar 20, 2024 · 2 comments
Open

No cached compile metadata found [...] #41

spokospace opened this issue Mar 20, 2024 · 2 comments

Comments

@spokospace
Copy link

spokospace commented Mar 20, 2024

Hello, there is any fix for PWA in dev mode? It works okay on production, but during the testing all the time I need to force refresh the pages few times, because of this error:

[ERROR] [vite] Internal server error: No cached compile metadata found for "/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/components/ViewTransitions.astro?astro&type=style&index=0&lang.css". The main Astro module "C:/www/sds/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/components/ViewTransitions.astro" should have compiled and filled the metadata first, before its virtual modules can be requested.

I'm using "astro": "^4.5.6", and pnpm (on Windows).

image

@spokospace spokospace changed the title No cached compile metadata found No cached compile metadata found [...] Mar 20, 2024
@userquin
Copy link
Member

userquin commented Mar 31, 2024

Can you provide a minimal reproduction? Disablibg the pwa works?

@mikelgmh
Copy link

I'm having the same issue. I'm not using a PWA, it just started showing in my project running the dev mode. Building for production is working well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants