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]: netlify dev fails to run middleware #2339

Closed
orinokai opened this issue Oct 18, 2023 · 2 comments
Closed

[bug]: netlify dev fails to run middleware #2339

orinokai opened this issue Oct 18, 2023 · 2 comments
Labels
status: awaiting user response type: bug code to address defects in shipped code v4 Issues related to the v4 Next.js runtime

Comments

@orinokai
Copy link
Contributor

orinokai commented Oct 18, 2023

Since shipping the PR to vendor Deno dependencies, netlify dev no longer runs middleware or edge functions correctly.

#2302

To fix this, we should ensure the vendored dependencies are copied to the dev server directory during onPreDev

This is the build step that does the vendoring: https://github.com/netlify/next-runtime/pull/2302/files#diff-126513369bd4ea319345bbb81971f82857aecab4d597bf4e0063f7dd07082b3a

Added to Linear as FRA-53.

@MarcL MarcL added v4 Issues related to the v4 Next.js runtime and removed Ecosystem: Frameworks labels Mar 13, 2024
@serhalp
Copy link
Contributor

serhalp commented Jun 4, 2024

@orinokai Is this still valid for v5?

@serhalp serhalp added type: bug code to address defects in shipped code status: awaiting user response labels Jun 4, 2024
@serhalp
Copy link
Contributor

serhalp commented Jun 12, 2024

Completed long ago by #2341

@serhalp serhalp closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: awaiting user response type: bug code to address defects in shipped code v4 Issues related to the v4 Next.js runtime
Projects
None yet
Development

No branches or pull requests

3 participants