We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
astro
0.22.19
pnpm
Ubuntu
Astro throws the following error if there's an empty astro.config.js file present or if the config file doesn't have a default export.
astro.config.js
TypeError: Cannot convert object to primitive value
No error is thrown if there's no astro.config.js file present.
https://stackblitz.com/edit/github-tz7qbv?file=astro.config.mjs&on=stackblitz
The text was updated successfully, but these errors were encountered:
Verified. I agree this seems like a bug. However, I want to point out that if no astro configuration file is present, then the error does not persist.
Sorry, something went wrong.
Thanks @RafidMuhymin! Moved to proload repo: natemoo-re/proload#8
natemoo-re
No branches or pull requests
What version of
astro
are you using?0.22.19
What package manager are you using?
pnpm
What operating system are you using?
Ubuntu
Describe the Bug
Astro throws the following error if there's an empty
astro.config.js
file present or if the config file doesn't have a default export.No error is thrown if there's no
astro.config.js
file present.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-tz7qbv?file=astro.config.mjs&on=stackblitz
The text was updated successfully, but these errors were encountered: