Not able to run frontend #2969
Unanswered
rajgaur98
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created a hardhat project using
npx hardhat
.Running and testing contracts is working fine, the problem comes when including a react frontend.
Facing this error when running
yarn start
Steps to reproduce:
npx hardhat
create-react-app
in a new folder inside the current directoryyarn start
Backend dependencies
Frontend dependencies
Folder structure:
![image](https://user-images.githubusercontent.com/52281264/179961249-5e11a8bd-bb73-4b38-a15f-cbbf30b803c0.png)
React app code is in the
frontend
folderEdit: I don't face this issue when cloning and using this repo https://github.com/NomicFoundation/hardhat-boilerplate
Beta Was this translation helpful? Give feedback.
All reactions