为什么这个Remix.run npx创建remix设置脚本从GitHub获得404 ?



在OS X终端中,我尝试使用命令

创建remix.run项目
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并成功地创建了Remix应用程序
  • 无论我尝试使用哪个Remix模板
  • 我在另一台mac上测试了npx脚本,在相同的wifi网络上,以前从未运行过它,它没有任何错误。
  • 从问题Mac,我能够从命令行推拉和克隆GitHub repos。
  • https://github-debug.com没有显示我的连接有任何问题
  • 我尝试删除~/.npm的全部内容,同时运行npx clear-npx-cache

检查是否在某处定义了GITHUB_TOKEN。这可能会干扰Remix CLI获取模板。

最新更新