sentry-cli报错修复

77 字
1 分钟
sentry-cli报错修复
  • 使用sentry-cli安装依赖时出现以下报错

    Terminal window
    Error: Unable to download sentry-cli binary from https://downloads.sentry-cdn.com/
  • yarn报错解决方式

    修改.yarnrc文件,C:\Users\xiang wang.yarnrc,添加以下配置

    Terminal window
    registry "https://registry.npm.taobao.org"
    ENTRYCLI_CDNURL "https://cdn.npm.taobao.org/dist/sentry-cli"
    sentrycli_cdnurl "https://cdn.npm.taobao.org/dist/sentry-cli"

    重新执行yarn即可

  • npm报错解决方式

    1. 修改.npmrc,如上
    2. npm执行命令
    Terminal window
    npm set ENTRYCLI_CDNURL=https://cdn.npm.taobao.org/dist/sentry-cli
    npm set sentrycli_cdnurl=<https://cdn.npm.taobao.org/dist/sentry-cli
sentry-cli报错修复
https://wangxiang.website/posts/工作/sentry-cli-error/
作者
翔子
发布于
2022-10-19
许可协议
CC BY-NC-SA 4.0
Profile Image of the Author
翔子
前端开发工程师
公告
博客已从 VitePress 迁移到 Astro + Firefly 主题,223 篇文章全部保留。
音乐
封面

音乐

暂未播放

0:00 0:00
暂无歌词
分类
标签
站点统计
文章
221
分类
9
标签
28
总字数
411,914
运行时长
0
最后活动
0 天前

文章目录