Want to improve this question? Add details and clarify the problem by editing this post.
Closed last month.
我也有这个bug;我把它放在我拥有的 hardhat 教程存储库中。
hardhat
对我来说,问题来自于一个yarn.lock文件,当yarn指定从github安装包时,该文件没有指定提交哈希。
yarn.lock
我吹走了 (rm'd) 我的 yarn.lock 文件(在根目录和 ./hardhat 中)并重新安装,然后它工作了。
rm
./hardhat
I also had this bug; I had it in a hardhat tutorial repo I had.
For me the problem came from a yarn.lock file that didn't specify a commit hash when yarn was specifying to install a package from github.
I blew away (rm'd) my yarn.lock files (in both the root dir and ./hardhat) and reinstalled, and it worked.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
我也有这个bug;我把它放在我拥有的
hardhat
教程存储库中。对我来说,问题来自于一个
yarn.lock
文件,当yarn指定从github安装包时,该文件没有指定提交哈希。我吹走了 (
rm
'd) 我的yarn.lock
文件(在根目录和./hardhat
中)并重新安装,然后它工作了。I also had this bug; I had it in a
hardhat
tutorial repo I had.For me the problem came from a
yarn.lock
file that didn't specify a commit hash when yarn was specifying to install a package from github.I blew away (
rm
'd) myyarn.lock
files (in both the root dir and./hardhat
) and reinstalled, and it worked.