v3-periphery
v3-periphery copied to clipboard
1.4.2 version is not compatible with v3-sdk
Error: Cannot find module '@uniswap/v3-periphery/artifacts/contracts/interfaces/IMulticall.sol/IMulticall.json'
[2022-09-19 18:35:23] Require stack:
[2022-09-19 18:35:23] - /workspace/node_modules/@uniswap/v3-sdk/dist/v3-sdk.cjs.development.js
[2022-09-19 18:35:23] - /workspace/node_modules/@uniswap/v3-sdk/dist/index.js
This happens when we tried to update 1.4.1
version to 1.4.2
version
Did you find a solution?
Did you find a solution?
I would also like to know. The artifacts folder is not there.
Tried different ways but ended up using yarn resolutions to use 1.4.1
version, hope they fix it in next version update
artifacts
folder is missing in 1.4.2
for some reason, for now the solution is downgrading to 1.4.1
to continue using the artifacts.
FYI, this works for me:
{
"@uniswap/sdk": "^3.0.3",
"@uniswap/sdk-core": "^3.0.1",
"@uniswap/smart-order-router": "^2.9.2",
"@uniswap/v3-core": "^1.0.1",
"@uniswap/v3-periphery": "^1.4.1",
"@uniswap/v3-sdk": "^3.9.0",
}
command: npm i @uniswap/[email protected]
artifacts
folder is missing in1.4.2
for some reason, for now the solution is downgrading to1.4.1
to continue using the artifacts.FYI, this works for me:
{ "@uniswap/sdk": "^3.0.3", "@uniswap/sdk-core": "^3.0.1", "@uniswap/smart-order-router": "^2.9.2", "@uniswap/v3-core": "^1.0.1", "@uniswap/v3-periphery": "^1.4.1", "@uniswap/v3-sdk": "^3.9.0", }
command:
npm i @uniswap/[email protected]
Thank you, this solved the issue for me.
This workaround worked for me:
"resolutions": {
"@uniswap/v3-periphery": "1.4.1"
}
in package.json
This also worked for me!
"dependencies": {
"@uniswap/v3-periphery": "1.4.1",
}
fixed in 1.4.3, sorry this took so long...