Anc*_*nek 5 heroku sentry webpack
我正在使用 webpack 来构建我的应用程序,它在本地与@sentry/webpack-plugin
\xe2\x80\x93 一起工作,它会自动生成版本并将源映射上传到 Sentry。
但是,如果我尝试在 Heroku 上构建相同的应用程序,则会出现以下错误:
\n\nError: Command failed: /tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/node_modules/@sentry/cli/sentry-cli releases propose-version\n INFO 2019-04-16 13:33:13.141611957 +00:00 Loaded config from /tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/.sentryclirc\n DEBUG 2019-04-16 13:33:13.141666891 +00:00 sentry-cli version: 1.41.0, platform: "linux", architecture: "x86_64"\n INFO 2019-04-16 13:33:13.141684793 +00:00 sentry-cli was invoked with the following command line: "/tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/node_modules/@sentry/cli/sentry-cli" "releases" "propose-version"\n DEBUG 2019-04-16 13:33:13.141916192 +00:00 error: running update nagger\n DEBUG 2019-04-16 13:33:13.141939514 +00:00 skipping update nagger because session is not attended\nerror: Could not automatically determine release name\n DEBUG 2019-04-16 13:33:13.142576118 +00:00 client close; no transport to shut down (from sentry)\n at ChildProcess.exithandler (child_process.js:289:12)\n at ChildProcess.emit (events.js:182:13)\n at maybeClose (internal/child_process.js:962:16)\n at Socket.stream.socket.on (internal/child_process.js:381:11)\n at Socket.emit (events.js:182:13)\n at Pipe._handle.close (net.js:606:12)\n
Run Code Online (Sandbox Code Playgroud)\n\n我究竟做错了什么?
\n小智 0
当我使用缓慢的互联网连接进行构建时,我遇到了同样的问题。另外,检查您使用的 API 令牌是否具有 https://sentry.io/settings/account/api/auth-tokens/中的写入权限
归档时间: |
|
查看次数: |
2810 次 |
最近记录: |