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

Error HH415 when running hardhat compile #4828

Closed
zain4838 opened this issue Feb 6, 2024 · 2 comments
Closed

Error HH415 when running hardhat compile #4828

zain4838 opened this issue Feb 6, 2024 · 2 comments
Assignees
Labels
status:needs-more-info There's not enough information to start working on this issue

Comments

@zain4838
Copy link

zain4838 commented Feb 6, 2024

Version of Hardhat

2.19.5

What happened?

I'm using openzeppelin/contracts and openzeppelin/contracts-upgradeable together,
when I run npx hardhat compile I get this error:

Error HH415: Two different source names ('@openzeppelin/contracts/utils/Strings.sol' and 'node_modules/@openzeppelin/contracts/utils/Strings.sol') resolve to the same file (/Users/dev/Desktop/hardhat/node_modules/@openzeppelin/contracts/utils/Strings.sol).

Minimal reproduction steps

npx hardhat compile

Search terms

No response

@fvictorio
Copy link
Member

@zain4838 you'll have to share your code for us to be able to help.

@fvictorio fvictorio added status:needs-more-info There's not enough information to start working on this issue and removed status:triaging labels Feb 8, 2024
@schaable
Copy link
Member

schaable commented Mar 1, 2024

Closing for lack of response. Feel free to reopen if you can provide more info.

@schaable schaable closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Mar 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:needs-more-info There's not enough information to start working on this issue
Projects
Archived in project
Development

No branches or pull requests

3 participants