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
🐛 BUG: Astro.new starters throw a few errors and many assorted warnings in the browser inspector #3403
Comments
dperolio on Discord mentioned that he gets exact errors without Solid. (s)he has React involved but doesn't look like the culprit. Looks Astro - Vite related especially with the thrown error |
Thanks for the report! Good to know that this isn't Solid-specific but is something to do with the Since this is happening with our out-of-the-box starter templates, we'll try to get to this as soon as possible. |
Just wanted to add, I'm encountering the same issue when upgrading from |
I've looked into this, I'm pretty confident this is an issue with Vite. In It first resolves an id: Then it calls: Then later down the track: And then shortly after it calls:
Which uses the old ID, that isn't inside the I think the fix for this would be simple, in the above use I don't have time to create an issue on the Vite repo and PR, happy for someone else to do that (otherwise if I have time I can do it later this week). |
The I'm also unable to replicate the "DevTools failed to load source map" warnings after the upgrade. Mind confirming before I close @KyleFontenot and/or @scott-the-brewer? |
@bholmesdev Working great for me thanks, no issues |
Still broken when running Didn't manage to narrow down the exact cause yet
|
@connorads Yep, we have a few reports of similar issues. Looks like we fixed the issue on our starters and other “small” starters, but it reappears at scale. Currently tracking on #3465 |
Noticing the |
What version of
astro
are you using?1.0.0-beta.30
Are you using an SSR adapter? If so, which one?
no
What package manager are you using?
npm
What operating system are you using?
Mac locally. StackBlitz throws same errors too though
Describe the Bug
Errors
Using just the basic starter template from Astro.new for solid, Here is the error thrown:
Within the browser visible.js throws:
Warnings
Two warnings throw referencing
/@id/...
While hundreds of warnings relate to
/node_modules/...
all ending in.map
:Link to Minimal Reproducible Example
https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-solid?file=package.json&on=stackblitz
Participation
The text was updated successfully, but these errors were encountered: