Open etherCrossroads opened 3 years ago
hava the same problem . anyone can help?
Same problem here. Is it an error?
Yeah, that's annoying. I guess back to using Uniswap periphery... This still not a well maintained for of it.
Hi All,
not changed to avoid broken other repo,
work around:
edit package.json
diff --git a/package.json b/package.json
index d4dd6e0..60e4fd9 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
],
"dependencies": {
"@uniswap/lib": "1.1.1",
- "@uniswap/v2-core": "^1.0.1",
+ "@uniswap/v2-core": "git://github.com/pancakeswap/pancake-swap-core.git",
"truffle-hdwallet-provider": "^1.0.17",
"truffle-plugin-verify": "^0.4.0"
},
Then:
yarn yarn compile
FYI, the specific error message I get is:
Error: None of the sub-resolvers resolved "@uniswap/v2-core/contracts/interfaces/IPancakeFactory.sol" location.
I also faced the same problem. How did you solve it?
The dependency at line 3 of file PancakeRouter is
@uniswap/v2-core/contracts/interfaces/IPancakeFactory.sol
, but there are noIPancakeFactory.sol
file.How can I fix this problem so that I can compile contract without error.