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

🐛 BUG: Folder named astro #704

Closed
cdtut opened this issue Nov 19, 2023 · 0 comments · Fixed by #682
Closed

🐛 BUG: Folder named astro #704

cdtut opened this issue Nov 19, 2023 · 0 comments · Fixed by #682
Labels
- P3: minor bug An edge case that only affects very specific usage (priority)

Comments

@cdtut
Copy link

cdtut commented Nov 19, 2023

Describe the Bug

Server crashes at

let [major, minor, patch] = version.split('.');
because version is undefined.

Steps to Reproduce

I created monorepo /tmp/astro with project inside it /tmp/astro/packages/astro and didn't put version in any package.json.

Before that line put console.log(version, astroPath, basePaths) to see problem:

3.5.5 /tmp/astro/node_modules/.pnpm/astro@3.5.5/node_modules/astro [ '/tmp/astro/packages/astro' ]
undefined /tmp/astro/packages/astro [ '/tmp/astro' ]
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Nov 19, 2023
@Princesseuh Princesseuh added - P3: minor bug An edge case that only affects very specific usage (priority) and removed needs triage Issue needs to be triaged labels Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P3: minor bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants