You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to import the hardhat. I've installed with yarn add hardhat. When I import the hardhat with const _hardhat = require("hardhat"); I get the following error:
Failed to compile.
./node_modules/undici/lib/api/api-request.js
Module not found: Can't resolve 'async_hooks' in '/home/bugra/deneme/end-to-end/packages/react-app/node_modules/undici/lib/api'
How can I resolve this issue? How can I use hardhat within the packages/react-app/src/components/Minter.jsx
The text was updated successfully, but these errors were encountered:
I am trying to import the hardhat. I've installed with
yarn add hardhat
. When I import the hardhat withconst _hardhat = require("hardhat");
I get the following error:How can I resolve this issue? How can I use hardhat within the
packages/react-app/src/components/Minter.jsx
The text was updated successfully, but these errors were encountered: