Skip to content

Cannot resolve ..sentry.client.config.js in @sentry/next-plugin #3452

@Tevinthuku

Description

@Tevinthuku

With the new 6.3.1 release, there seems to be an additional issue that emerges when you run the dev server in your next-js application.

image

This line is the culprit,

import '../../../../sentry.client.config.js';

I tried commenting it out locally to see what happens & the same error occurs, but now on the on-init-server.js file.

Package + Version

  • @sentry/next 6.3.1

Version:

0.0.0

Description

Describe your issue in detail, ideally, you have a reproducible demo that you can show.
You can clone this repo https://github.com/Tevinthuku/sentry-nextjs-yarn-workspace-issue and update the sentry/next package to version 6.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions