Skip to content

withSentry does not copy or generate _sentry-release-injection-file-*.js. Sometimes only copies .js.map file! #15291

Closed
@ian-pascoe

Description

@ian-pascoe

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/solidstart

SDK Version

8.54.0

Framework Version

@solidjs/start: 1.0.11

Link to Sentry event

No response

Reproduction Example/SDK Setup

I followed all the directions that were in the release notes for the withSentry solidstart change. (These should really be documented by the way, I only found these docs by digging and seeing an error in my build log)

Steps to Reproduce

  1. Set up solidstart project
  2. Set preset to bun
  3. Run build vinxi build within a docker container (this seems to be the key point)
    i. You may need to run the build a few times
  4. Observe that _sentry-release-injection-file-*.js is missing

You can see the example repo here: https://github.com/spirit-led-software/theaistudybible (the commit that has the issue is 78367144d1c6f7b8ddf0b65ba181ba664b83a17b)

Expected Result

Build should run successfully and the file should exist.

Actual Result

Without this file, my server refuses to start because of the bad import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: solidstartIssues related to the Sentry SolidStart SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions