我正在尝试从 npm my running实现这个名为Share Buttonhttps://github.com/carrot/share-button
的插件。然而,在这样做并等待大约 5 分钟后,我得到以下输出:
npm ERR! fetch failed https://registry.npmjs.org/i/-/i-0.3.2.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 504
⸨ ░░░░░░░░░░░░░░⸩ ⠇ fetchMetadata: WARN retry will retry, error on last attempt: Error: fetch failed with status code 504
有谁知道为什么会发生这种情况以及解决它的方法?谢谢