lotus 出错 go mod tidy:no such file or directory

go mod tidy遇到问题:no such file or directory

go mod tidy
go: github.com/filecoin-project/filecoin-ffi@v0.30.4-0.20200910194244-f640612a1a1f (replaced by ./extern/filecoin-ffi): reading extern/filecoin-ffi/go.mod: open /home/ly/codespace/lotus/extern/filecoin-ffi/go.mod: no such file or directory

这是因为子模块被抽取出来作为一个新的仓库,使用以下命令:

cd lotus
git submodule update --init --recursive