代码之家  ›  专栏  ›  技术社区  ›  ransomweaver

为什么是混音。运行npx创建混音设置脚本从GitHub获取404?

  •  0
  • ransomweaver  · 技术社区  · 2 年前

    在OS X终端中,我尝试创建一个混音。使用命令运行project

    npx create-remix@latest
    

    在脚本尝试创建应用程序时,它将退出并显示以下错误和堆栈跟踪:

    Creating your app… 🔍  Using the cloudflare-pages template from the remix-run/remix repo
    ⠹ Creating your app…Error: 🚨 There was a problem fetching the file from GitHub. The request responded with a 404 status. Please try again later.
        at downloadAndExtractTarball (/Users/ransom/.npm/_npx/5164864a48bff686/node_modules/@remix-run/dev/cli/create.js:284:11)
    

    更多信息:

    • Node和nvm版本是最新的
    • 我在指定像create这样的旧版本时也遇到同样的问题-remix@1.3.1
    • 我以前使用过这款Mac电脑,并成功创建了混音应用程序
    • 我尝试使用哪种混音模板并不重要
    • 我在另一台mac电脑上测试了npx脚本,在同一个wifi网络上,以前从未运行过,而且没有任何错误。
    • 在有问题的Mac上,我能够从命令行推拉和克隆GitHub repos。
    • https://github-debug.com 我的连接没有出现任何问题
    • 我试图删除 ~/.npm 而且还在运行 npx clear-npx-cache
    0 回复  |  直到 2 年前