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

[v5.0.0-beta.6] New project fails to show Welcome screen #12375

Closed
1 task
pinzonjulian opened this issue Nov 5, 2024 · 0 comments · Fixed by #12379
Closed
1 task

[v5.0.0-beta.6] New project fails to show Welcome screen #12375

pinzonjulian opened this issue Nov 5, 2024 · 0 comments · Fixed by #12379
Labels
needs triage Issue needs to be triaged

Comments

@pinzonjulian
Copy link

Astro Info

Astro                    v5.0.0-beta.6
Node                     v22.11.0
System                   macOS (arm64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

I just started a new Astro project and couldn't get through to the welcome screen. I created the project using the following commands:

nvm install 22.11.0 // to run on the latest node

npx @astrojs/upgrade beta

npm create astro@latest -- --ref next

I'm getting the following error message:

Unable to render Welcome because it is undefined!
Did you forget to import the component or is it possible there is a typo?

With the following stacktrace:

Error: Unable to render Welcome because it is undefined!
Did you forget to import the component or is it possible there is a typo?
    at renderFrameworkComponent (/Users/my_user_name/code/blog/node_modules/astro/dist/runtime/server/render/component.js:59:11)
    at Module.renderComponent (/Users/my_user_name/code/blog/node_modules/astro/dist/runtime/server/render/component.js:373:16)
    at Object.default (/Users/my_user_name/code/blog/src/pages/index.astro:1:1)
    at new AstroComponentInstance (/Users/my_user_name/code/blog/node_modules/astro/dist/runtime/server/render/astro/instance.js:20:30)
    at Module.createAstroComponentInstance (/Users/my_user_name/code/blog/node_modules/astro/dist/runtime/server/render/astro/instance.js:63:20)
    at renderAstroComponent (/Users/my_user_name/code/blog/node_modules/astro/dist/runtime/server/render/component.js:352:20)
    at Module.renderComponent (/Users/my_user_name/code/blog/node_modules/astro/dist/runtime/server/render/component.js:371:12)
    at /Users/my_user_name/code/blog/src/pages/index.astro:1:1
    at index (/Users/my_user_name/code/blog/node_modules/astro/dist/runtime/server/astro-component.js:16:12)
    at callComponentAsTemplateResultOrResponse (file:///Users/my_user_name/code/blog/node_modules/astro/dist/runtime/server/render/astro/render.js:90:31)

What's the expected result?

A welcome screen

Link to Minimal Reproducible Example

https://github.com/pinzonjulian/blog

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Nov 5, 2024
@pinzonjulian pinzonjulian changed the title New project fails to show Welcome screen [v5.0.0-beta.6] New project fails to show Welcome screen Nov 5, 2024
@florian-lefebvre florian-lefebvre linked a pull request Nov 5, 2024 that will close this issue
@ascorbic ascorbic closed this as completed Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants