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

Cannot find module '@astrojs/cloudflare/runtime' or its corresponding type declarations. #5222

Closed
1 task done
awwong1 opened this issue Oct 28, 2022 · 0 comments · Fixed by #5230
Closed
1 task done
Assignees
Labels
- P4: important Violate documented behavior or significantly impacts performance (priority)

Comments

@awwong1
Copy link

awwong1 commented Oct 28, 2022

What version of astro are you using?

1.5.2

Are you using an SSR adapter? If so, which one?

Cloudflare

What package manager are you using?

npm

What operating system are you using?

Mac

Describe the Bug

Despite having version 3.1.1 of the @astrojs/cloudflare library installed, I cannot use the new getRuntime method.

Screen Shot 2022-10-27 at 20 01 05

CC: @AirBorne04

const runtime = Reflect.get(Astro.request, Symbol.for("runtime"));

Still works though

Link to Minimal Reproducible Example

https://github.com/udiaca/u0.vc/tree/investigate-runtime

Participation

  • I am willing to submit a pull request for this issue.
@matthewp matthewp added the - P4: important Violate documented behavior or significantly impacts performance (priority) label Oct 28, 2022
@matthewp matthewp self-assigned this Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P4: important Violate documented behavior or significantly impacts performance (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants