Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.4.2 version is not compatible with v3-sdk #313

Closed
ChaituVR opened this issue Sep 19, 2022 · 8 comments
Closed

1.4.2 version is not compatible with v3-sdk #313

ChaituVR opened this issue Sep 19, 2022 · 8 comments

Comments

@ChaituVR
Copy link

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

@ChaituVR ChaituVR changed the title 1.4.2 version is not usable with v3-sdk 1.4.2 version is not compatible with v3-sdk Sep 19, 2022
@muhammadsamir11
Copy link

Did you find a solution?

@jakubdonovan
Copy link

Did you find a solution?

I would also like to know. The artifacts folder is not there.

@ChaituVR
Copy link
Author

Tried different ways but ended up using yarn resolutions to use 1.4.1 version, hope they fix it in next version update

@jdubpark
Copy link

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/v3-periphery@1.4.1

@bigchiano
Copy link

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/v3-periphery@1.4.1

Thank you, this solved the issue for me.

@dade-ca
Copy link

dade-ca commented Sep 26, 2022

This workaround worked for me:

  "resolutions": {
    "@uniswap/v3-periphery": "1.4.1"
  }

in package.json

@roigecode
Copy link

roigecode commented Sep 28, 2022

This also worked for me!

"dependencies": {
    "@uniswap/v3-periphery": "1.4.1",
  }

@hensha256
Copy link
Contributor

fixed in 1.4.3, sorry this took so long...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants