我对哨兵 webpack 插件https://github.com/getsentry/sentry-webpack-plugin有问题......我已经阅读了手册并尝试了很多东西,但无法弄清楚出了什么问题......但是,我我使用 webpack 3 ... 每次我收到这个错误
./node_modules/@sentry/cli/sentry-cli 发布新的 1520006165 错误:需要组织 slug(与 --org 一起提供)
但是组织、项目、令牌由包含所有必需数据的 sentry.properties 文件提供给 SentryCliPlugin ... https://docs.sentry.io/clients/java/config/#configuration-via-properties-file
new SentryCliPlugin({
release: process.env.LAST_BUILD_TIME,
configFile: process.env.SENTRY_PROPERTIES_FILE,
include: './app/dist'
})
Run Code Online (Sandbox Code Playgroud)
sentry.properties 文件(添加)
[defaults]
url=https://sentry.io/
org=<YourOrgShortname>
project=<YourProjectShortname>
[auth]
token=<YourToken>
Run Code Online (Sandbox Code Playgroud)
感谢帮助!
编辑
我已经在 github repo 上打开了问题......这是与包相关的问题。 https://github.com/getsentry/sentry-webpack-plugin/issues/34