Skip to content

@next/sentry ignores distDir #3854

Closed
Closed

Description

@Janpot

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: @sentry/nextjs

Version:

6.10.0

Description

My project has distDir configured. The build shows an error for sentry:

error: .next/: IO error for operation on .next/: No such file or directory (os error 2)

The build passes when I remove the distDir (but I need it).

Activity

  1. lobsterkatie commented on Aug 3, 2021

    @lobsterkatie
    Member

    Hi, @Janpot. Thanks for reporting!

    I've added supporting custom distDir values to our backlog, and will let you know once we've pushed out a fix.

  2. JamesHenry commented on Aug 12, 2021

    @JamesHenry
    Contributor

    Thanks @lobsterkatie I ran into this today as well, so glad to know it will be worked on soon

  3. iker-barriocanal commented on Sep 24, 2021

    @iker-barriocanal
    Contributor

    This should be solved in #3990, and full source map support will be solved in #4003.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions