Skip to content

Nuxt: Compatibility with different Deployment Platforms #14029

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

Closed
13 of 22 tasks
Tracked by #14487
s1gr1d opened this issue Oct 21, 2024 · 5 comments
Closed
13 of 22 tasks
Tracked by #14487

Nuxt: Compatibility with different Deployment Platforms #14029

s1gr1d opened this issue Oct 21, 2024 · 5 comments
Assignees

Comments

@s1gr1d
Copy link
Member

s1gr1d commented Oct 21, 2024

Description

The Sentry Nuxt SDK should work on different deployment platforms. This issue tracks the progress of what we already tested and implemented.

The state shows what is supported from v8.35.0 (beta) onwards.

If you experience issues or a specific deployment platform is not listed, feel free to comment here or file a new GitHub issue.

Local Production Build (nuxi build -> node .output/server/index.mjs)

Preview Give feedback

Netlify

Preview Give feedback

Vercel

Preview Give feedback

Azure Static Web App

Preview Give feedback

Cloudflare (not tested yet)

Preview Give feedback
  1. Improvement Nuxt
@s1gr1d s1gr1d self-assigned this Oct 21, 2024
@rocketiscool
Copy link

rocketiscool commented Oct 21, 2024

Any idea why I get

[nuxt] [request error] [unhandled] [500] ENOENT: no such file or directory, open 'path/web/apps/web/.output/public/_nuxt/yrDNp5yz.js.map'

on original page load with local production build

Edit:

Seems that unless

    sourcemap: {
        server: true,
        client: true
    },

both server and client are explicitly enabled, it will cause that error if its just client: true alone.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Oct 21, 2024
@s1gr1d
Copy link
Member Author

s1gr1d commented Oct 22, 2024

Are you using version 8.35.0? Nuxt automatically sets sourcemap.server: true, so this shouldn't make a difference 🤔 Do you have a small reproduction example?

@BenAkroyd
Copy link

+1 for cloudflare

Copy link
Member

mydea commented Apr 8, 2025

@sigrid.huemer can we close this issue? I feel like there are other/newer issues covering stuff that is still open/relevant…?

@s1gr1d
Copy link
Member Author

s1gr1d commented Apr 8, 2025

Yeah we can close this.

There is the option for limited server tracing, which will make the SDK work in most of the cases where it's not possible to add the --import flag.

For Cloudflare, there is an open PR: #15597

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

6 participants