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

V11 - [astro:db] Cannot convert undefined or null to object #301

Open
1 task
atej opened this issue Jun 25, 2024 · 0 comments
Open
1 task

V11 - [astro:db] Cannot convert undefined or null to object #301

atej opened this issue Jun 25, 2024 · 0 comments

Comments

@atej
Copy link

atej commented Jun 25, 2024

Astro Info

Astro                    v4.11.1
Node                     v20.14.0
System                   macOS (arm64)
Package Manager          npm
Output                   server
Adapter                  @astrojs/cloudflare
Integrations             @astrojs/react
                         astro:db
                         @astrojs/db/file-url
                         simple-stream
                         astro-icon

Describe the Bug

With platformProxy enabled (default in v11), getting the following error on astro dev

[ERROR] [astro:db] Cannot convert undefined or null to object.

Disabling platformProxy seems to fix it.

Note: haven't yet connected to Astro Studio (no env vars). Just using astro:db locally.

What's the expected result?

Dev server should work like before, with default options.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-wdprrg?file=astro.config.mjs

Participation

  • I am willing to submit a pull request for this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants