nitrojs / nitrojs/nitro

Nuxt with netlify-edge preset getting 404 error with no error in logs

Open
#1,091 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug nuxt preset:netlify-edge v2
Dominant language
TypeScript
Stars
11.2k
Forks
899
Avg merge
2d 24m
Merged PRs (30d)
40

Description

   Forwarded from downstream issue:


Environment

Nuxt 3.3.2, SSR, netlify-edge preset

Reproduction

Clear installation of Nuxt deployed to Netlify with preset: 'netlify-edge'

Describe the bug

Running Nuxt 3.3.2, SSR on Netlify with netlify-edge preset. When opening website URL I got Netlify 404 error. In logs no errors and in Edge Functions part:

11:47:41 AM:   2. Edge Functions bundling                                    
11:47:41 AM: ────────────────────────────────────────────────────────────────
11:47:41 AM: ​
11:47:41 AM: ​
11:47:41 AM: (Edge Functions bundling completed in 494ms)

Paths to files are the same as in preset: 'netlify', and this preset is working.

@danielroe Did the same reproduction on one of his performance streams. Localy edge functions are generated, on Netlify nothing.

Additional context

No response

Logs

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Nuxt 3.3.2 SSR deployment using the netlify-edge preset and compare it with the working netlify preset. Start by checking the generated edge-function paths and Netlify deployment output; done means the deployed site serves requests instead of returning a 404 and the edge function is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.