question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Explorer should build without Sentry credentials defined

See original GitHub issue

Describe the bug

$ yarn build

Failed to compile.

Sentry CLI Plugin: Command failed: /Users/gavin/Desktop/explorer/node_modules/@sentry/cli/sentry-cli releases new minLwZ8lAAQbuphsDxNBG
error: API request failed
  caused by: sentry reported an error: Authentication credentials were not provided. (http status: 401)

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 error occurred
Error: > Build failed because of webpack errors
    at /Users/gavin/Desktop/explorer/node_modules/next/dist/build/index.js:397:19
    at async Span.traceAsyncFn (/Users/gavin/Desktop/explorer/node_modules/next/dist/telemetry/trace/trace.js:60:20)
    at async Object.build [as default] (/Users/gavin/Desktop/explorer/node_modules/next/dist/build/index.js:77:25)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kyranjamiecommented, Oct 11, 2021

@fbwoolf Looks like we need to configure the explorer to run, even when sentry credentials aren’t defined

0reactions
fbwoolfcommented, Oct 12, 2021

I see it now using yarn build, I am using yarn dev to run local which is fine.

Yeah, but when I use yarn build to deploy on vercel, it needs sentry configuration.

Yep, was just trying to repro. Def need to fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting for JavaScript - Sentry Documentation
Unexpected OPTIONS request. If your application started to misbehave because of performing additional OPTIONS requests, it is most likely an issue with ...
Read more >
Errors don't make it to Sentry on apps #1451 - GitHub
If we do run Sentry.init() in the browser, we get: Sentry Logger [Warn]: No DSN provided, backend will not do anything.
Read more >
Configuring the Sentry Service | 6.3.x - Cloudera Documentation
Important: Enabling HDFS/Sentry synchronization obviates the need to explicitly set permissions on the Hive warehouse directory.
Read more >
Monitoring Service Logon Account - SentryOne
Instructions · Run the SentryOne. · Enter your new password, and confirm your password in the applicable boxes on the Set SQL Sentry...
Read more >
Sentry Tutorial - Apache Software Foundation
Authentication - Verifying credentials to reliably identify a user; Authorization - Limiting the user's access to a given resource; User - Individual identified...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found