将项目文件夹从 Windows 移动到 linux 时修复依赖树

问题描述

我一直在尝试将我当前的项目从 Windows 移动到 linux 桌面。我删除node_modulespackage-lock.json 并尝试运行 npm i 但它产生了以下错误

enter image description here

如果我选择 npm i --legacy-peer-deps,那么我可以安装所有依赖项,但是 gatsby-source-faunadb 在我运行 npm start-

enter image description here

即使我从 package.json 中删除每个包并只运行 npm i gatsby(没有 package-lock.json 和 node_modules),我也会收到这些错误-

enter image description here

这里的问题是什么以及如何解决

解决方法

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

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

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