代码工程:

https://github.com/pancakeswap/pancake-swap-interface-v1

https://github.com/pancakeswap/pancake-frontend

 

安装yarn:

brew install yarn

 

cd pancake-swap-interface-v1

yarn

报错:

error react-scripts@4.0.1: The engine "node" is incompatible with this module. Expected version "^10.12.0 || >=12.0.0". Got "11.10.1"
error Found incompatible module.

解决:

npm install -g n

sudo n lts

yarn # 这次OK了

 

第二天,又遇到v1,v2版本问题。

v2版本代码没开源,v1版本代码不打卡。

还好声威想到回退到某一个历史版本,这样v1功能就能完整使用了。

试了一下,果然有效。

 

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-05-25
  • 2021-12-03
  • 2021-06-28
猜你喜欢
  • 2021-12-06
  • 2021-12-19
  • 2021-09-22
  • 2022-01-22
  • 2022-02-27
  • 2021-12-17
  • 2022-12-23
相关资源
相似解决方案