-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Non-critical error when running Astro 5 in dev mode: "[vite] cannot find entry point module 'astro:db'." #12474
Comments
I can reproduce this error:
|
Also getting same output. v. 5.0.0 beta 7
|
I am facing the same error in Astro v5.0.1:
|
I'm getting the same issue after upgrading to 5.0.1 |
same error |
Same error here, just upgrade to astro v5 |
For my, the error only happens when you have installed {
"name": "...",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/svelte": "^7.0.1",
"@astrojs/tailwind": "^5.1.3",
"astro": "^5.0.1",
"svelte": "^5.2.2",
"swiper": "^11.1.15",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^17.0.15"
}
}
|
This seems to be coming from here, where we try to eagerly-load the virtual module. What the error message isn't showing is that the module it's trying to load is actually |
I was able to reproduce it with just Astro v5 + @astrojs/db: https://stackblitz.com/edit/withastro-astro-m8d7mh?file=package.json |
FWIW I get this error as a critical error (which prevents dev server to start) when I install
|
@Uninen that won't be related to this |
I am getting the same error: 15:17:05 [ERROR] [astro:db] [vite] cannot find entry point module 'astro:db'. My package.json includes: "@astrojs/db": "^0.14.3",
"astro": "^5.0.3", P.S. I absolutely love Astro and am thankful for all who contribute to it! |
Hey @cameronapak! Thanks for reporting. Looks like we're on 5.0.4 right now. Can you confirm this still occurs on the latest? If so, it may be worth making a new issue with a link to your codebase |
Will do, @bholmesdev! |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Running
npm run dev
shows:Everything works though.
What's the expected result?
No error should be displayed.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-f2kqtd?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: