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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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:

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