-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
"We couldn't initialize the sample project because this file already exists: README.md" #3240
Comments
This issue is also being tracked on Linear. We use Linear to manage our development process, but we keep the conversations on Github. LINEAR-ID: fc7776f0-7a64-47c5-b37d-b529ff66d20d |
Hi @zahraha97, the project initialization doesn't overwrite any files, so that's why you are getting that message. A simple workaround is to rename the README and then delete the one created by Hardhat:
But I think that, at least for the README, we should just not add one instead of throwing this error. |
Closes: NomicFoundation#3200, NomicFoundation#3240 Signed-off-by: Tomás Migone <tomasmigone@gmail.com>
+1 I got the same problem |
Fixed in #3211 |
I'm working on a react app and I want to connect it to a smart contract. Upon hardhat initialization I got this error:
"We couldn't initialize the sample project because this file already exists: README.md"
The text was updated successfully, but these errors were encountered: