-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ERROR toolbar #13841
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
Comments
Hi! Could you provide some sort of reproducible example in Stack Blitz. Also I am not sure we can do anything as Astro no longer supports node 18. Thank |
Also is this an issue in other Chromium browsers like edge? |
@ChaseYalon |
The error cannot be reproduced in the provided stackblitz |
Hello @fromgopi. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
@florian-lefebvre |
I know thanks. What I'm saying is that in its current state, no error is thrown in the terminal nor the browser console on stackblitz. Can you update the repro so it actually throws the error you're talking about in the issue description? |
@florian-lefebvre Ok I will update it the repro. |
@florian-lefebvre Bellow is the link to repo |
I opened it in stackblitz (https://stackblitz.com/github/agtranstech/dairyvista-homepage/tree/stage) and cannot reproduce the bug either 🤔. Not sure what's going on |
Looking at the error, I think |
I will check. |
@fromgopi can you try with this preview release? npm i https://pkg.pr.new/astro@13862 |
Uh oh!
There was an error while loading. Please reload this page.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Chrome, Brave, Firefox
Describe the Bug
[ERROR] [toolbar] Failed to initialize dev toolbar app Menu (astro:home):
TypeError: Cannot read properties of undefined (reading 'latestAstroVersion')
at createCanvas (http://localhost:4321/node_modules/astro/dist/runtime/client/dev-toolbar/apps/astro.js?v=c0f2c8f5:60:60)
at Object.init (http://localhost:4321/node_modules/astro/dist/runtime/client/dev-toolbar/apps/astro.js?v=c0f2c8f5:15:5)
at AstroDevToolbar.initApp (http://localhost:4321/node_modules/astro/dist/runtime/client/dev-toolbar/toolbar.js?v=c0f2c8f5:342:23)
at http://localhost:4321/node_modules/astro/dist/runtime/client/dev-toolbar/toolbar.js?v=c0f2c8f5:273:39
at Array.map ()
at window.requestIdleCallback.timeout (http://localhost:4321/node_modules/astro/dist/runtime/client/dev-toolbar/toolbar.js?v=c0f2c8f5:273:21)
What's the expected result?
Main astro page when running
npm run dev
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-lo8u7psl?file=astro.config.mjs&title=Astro%20Starter%20Kit:%20Basics
Participation
The text was updated successfully, but these errors were encountered: