sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Build failed because of webpack errors

Open chiennv97fenik opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
  • [X] I have reviewed the documentation https://docs.sentry.io/
  • [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/nextjs

SDK Version

7.101.1

Framework Version

React 18

Link to Sentry event

No response

SDK Setup

Sentry.init({ dsn: "https://c9db05745bf14d7186c541df994e6340@o4506755724476416.ingest.sentry.io/4506755753181184", });

Steps to Reproduce

  1. Create example nextjs 14 project npx [email protected] test-sentry
  2. Add sentry npx @sentry/wizard@latest -i nextjs
  3. Build project npm run build

Expected Result

Build done

Actual Result

Failed to compile.

Sentry CLI Plugin: Command failed: /Users/chiennguyen/Work4/test-sentry/node_modules/@sentry/cli/sentry-cli releases new DTQcFXDjIqtu-OuF8spE6 error: Two different url values supplied: https://sentry.io (from token), https://fenik.sentry.io/.

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output. Please attach the full debug log to all bug reports.

Sentry CLI Plugin: Command failed: /Users/chiennguyen/Work4/test-sentry/node_modules/@sentry/cli/sentry-cli releases new DTQcFXDjIqtu-OuF8spE6 error: Two different url values supplied: https://sentry.io (from token), https://fenik.sentry.io/.

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output. Please attach the full debug log to all bug reports.

Build failed because of webpack errors

chiennv97fenik avatar Feb 18 '24 11:02 chiennv97fenik