如何删除HardHat:core:config,以便我可以创建一个新的示例项目

发布于 2025-02-09 02:41:37 字数 339 浏览 2 评论 0原文

它不会给我创建示例项目的选择。

我已经尝试了几个小时了,当我键入“ npx hardhat”我尝试1时,

  1. “ mkdir hello-smart”

    “ cd hello-smart” < /p>

  2. “ npm Init”

  3. “ npm install hardhat”

  4. “ npx hardhat”

,也尝试了

npm init -y
npm install -D hardhat
npx hardhat

I’ve been trying for hours, it won’t give me the options to create a sample project when I type “npx hardhat”

I’ve tried 1. “Mkdir hello-smart”

  1. “Cd hello-smart”

  2. “Npm init”

  3. “Npm install hardhat”

  4. “Npx hardhat”

And also tried

npm init -y
npm install -D hardhat
npx hardhat

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心如荒岛 2025-02-16 02:41:37

安装HardHat(NPM I HardHat)之后

hardhat init 

after you installed hardhat (npm i hardhat)

hardhat init 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文