简体   繁体   English

LogRocket CLI:上传源地图时无法创建发布

[英]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.

相关问题 如何在React项目中自动创建Sentry版本并将源地图上传到Sentry? - How to automatically create a Sentry release and upload source-maps to Sentry in a react project? 如何使用ember-qunit为ember-cli构建的ember应用程序运行测试时,可以使源映射正常工作 - How can I get source maps to work when running tests using ember-qunit for an ember app built on ember-cli 将 Gulp 与源映射插件一起使用时,源映射不正确 - Incorrect source maps when using Gulp with source maps plugin IE11 Angular-CLI源映射不起作用 - IE11 Angular-CLI source maps not working webpack:使用CSS时了解源映射 - webpack: understanding source maps when working with CSS 流星部署 - 如何创建源地图? - meteor deployment - how to create source maps? 调试时源代码图是否有效? - Do source maps work when debugging? 生成源映射时如何让 Webpack 使用已经存在的源映射? - How to get Webpack to use already existing source maps when generating source maps? 在开发中创建反应应用程序css源映射 - Create-react-app css source-maps in development Angular CLI生成用于打字稿的源地图,但浏览器仅加载样式源地图 - Angular CLI produces sourcemaps for typescript but browser is only loading style source maps
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM