我遵循这里的说明:https://github.com/compound-finance/compound-protocol
我跑:
git clone https://github.com/compound-finance/compound-protocol
cd compound-protocol
yarn install——锁文件
纱线测试
yarn run v1.22.11
。美元/脚本/测试
选项:p
选项:p
输入shasum -h寻求帮助
输入shasum -h寻求帮助
error命令失败,退出码1.
info请访问https://yarnpkg.com/en/docs/cli/run获取有关该命令的文档。
为什么我一直得到这个错误与未知选项p
尝试使用Node.js版本12。NVM是一个很好的工具,可以在命令行上快速切换不同版本的Node。https://nvm.sh