-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Self-Hosted Version
23.11.2
CPU Architecture
x86
Docker Version
Open Shift 4.14.10
Docker Compose Version
Our devops team did not use docker and docker compose
Machine Specification
- My system meets the minimum system requirements of Sentry
Steps to Reproduce
1-Uploading your source maps to Sentry
1.1- The Sentry webpack plugin has been installed.
1.2 - sentry authentication was created and a token was obtained.
1.3 - webpack.config settings have been configured.
const { sentryWebpackPlugin } = require("@sentry/webpack-plugin");
...
module.exports = {
...
plugins: [
sentryWebpackPlugin({
org: "example-org",
project: "example-project",
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
],
...
}
Everything requested was done, and the final yarn build was performed. After that, I received an error. The error is as follows:
$ node scripts/build.js
Creating an optimized production build...
Failed to compile.
Cannot read properties of undefined (reading 'tap')
How can I fix the tap error? Can you help me?
Expected Result
we expected to see the sourcemap files in the Source Maps section as the document said.
Actual Result
We don't see any uploaded sourmaps in the sentry. (Project Setting > Source Maps)
$ node scripts/build.js
Creating an optimized production build...
Failed to compile.
Cannot read properties of undefined (reading 'tap')
Event ID
No response
Metadata
Metadata
Assignees
Labels
Projects
Status
Status