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

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

Closed
koronowicz opened this issue Mar 27, 2023 · 5 comments
Closed

Comments

@koronowicz
Copy link

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

@issue-up
Copy link

issue-up bot commented Mar 28, 2023

@dosstx
Copy link
Contributor

dosstx commented May 24, 2023

I get the same error when using netlify-edge preset. What is the fix ? Sorry, was not sure what to make of issue-up response above...

@koronowicz
Copy link
Author

koronowicz commented May 25, 2023

I didn't find solution to that. I think that is a Nitro issue. In my case there is no errors on Netlify, so it's hard to debug that, vercel-edge is working.

@dodo021
Copy link

dodo021 commented Jun 7, 2023

I'm not sure if it's a bug or intended behavior, but npm run build generates Edge functions while npm run generate does not generate Edge functions.

@koronowicz
Copy link
Author

The last update fixed that error in my case.

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

4 participants