-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Cannot build frontend because of Sentry #6112
Comments
* Add sourcemapping for sentry * Add sentry cli dev dependency * Remove redundant sentry packages * Replace sentry replay instantiation to use react package
I can also reproduce this issue. After removing line 96, the comma and the end of line 95 and |
@mahesh-naxa does this get fixed with recent docker changes? |
@ramyaragupathy the new docker compose has frontend setup as per the |
@frafra - can you please try this with the updated docker setup? |
Describe the bug
npm run build
fails withcaused by: sentry reported an error: Authentication credentials were not provided. (http status: 401)
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Sentry credentials should be read at runtime, not at build time.
Additional information
I think this happens because
npm build
runssentry:sourcemaps
:tasking-manager/frontend/package.json
Line 96 in d560a76
It really looks an action that should not be called on build, since it contains HOT-specific configuration, which is not relevant for other setups of the TM.
Regression have been caused by b7563bf.
The text was updated successfully, but these errors were encountered: