克隆git存储库时,gatsby开发失败

问题描述

当我创建新项目并执行以下步骤时,我的gatsby项目可以完美运行:https://www.gatsbyjs.com/docs/quick-start/但是,当我尝试克隆另一个存储库时,例如:

  1. git clone https:// repositoryurl
  2. npm install -g gatsby-cli
  3. npm安装
  4. gatsby开发

它失败并显示错误Failed at the [email protected] postinstall script.,我尝试了不同的存储库,这些解决方案是我在Internet上找到的所有解决方案,但无济于事。在您要求运行npm install libpng-dev之前,请给出npm ERR! 404 Not Found - GET https://registry.npmjs.org/libpng-dev - Not found。运行npm install pngquant-bin得到npm ERR! [email protected] postinstall node lib/install.js我的节点版本:v12.18.3。我的npm版本:6.14.6。我使用Windows 10

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)