[英]LogRocket CLI: unable to create a release when uploading source maps
Following the steps here, I'm trying to upload source maps to LogRocket using their CLI, but this step:按照此处的步骤,我正在尝试使用他们的 CLI 将源映射上传到 LogRocket,但是这一步:
logrocket release 0.1.50 --apikey="secret"
...results in: ...结果是:
Creating release: 0.1.50 ...
Could not create release: 0.1.50
500 Internal Server Error
Could not complete request
I've tried different combination of releases (eg v50, blahblah, etc), and they all result in the same error.我尝试了不同的版本组合(例如 v50、blahblah 等),它们都会导致相同的错误。
I don't think the API key is the problem, as I sent an invalid API key and the response was 403 Forbidden
instead.我不认为 API 密钥是问题所在,因为我发送了一个无效的 API 密钥并且响应是
403 Forbidden
。
Anyone know how to diagnose this problem?任何人都知道如何诊断这个问题? I've also asked on their GitHub page: https://github.com/LogRocket/logrocket-cli/issues/16
我还在他们的 GitHub 页面上询问过: https://github.com/LogRocket/logrocket-cli/issues/16
One thing to try is passing the release as a number, eg要尝试的一件事是将发布作为数字传递,例如
logrocket release 1.0 --apikey="secret"
Strings such as 0.8.4 will also work but need to be quoted, eg诸如 0.8.4 之类的字符串也可以,但需要用引号引起来,例如
logrocket release "0.8.4" --apikey="secret"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.