简体   繁体   English

安装 hardhat 时出现此错误 -> 找不到模块 '@nomicfoundation/hardhat-toolbox

[英]I'm getting this error while installing hardhat -> Cannot find module '@nomicfoundation/hardhat-toolbox

hardhat-error安全帽错误

tried npm install --save-dev hardhat and then did npx hardhat to check if it was installed peoperly but it's not working checked both 'hardhat-config-js' and 'package.json' for nomicfoundation dependencies and it is there but still I'm getting this error尝试了 npm install --save-dev hardhat 然后做了 npx hardhat 来检查它是否被正常安装但是它不工作检查了 'hardhat-config-js' 和 'package.json' 是否存在 nomicfoundation 依赖项并且它在那里但我仍然收到这个错误

You should be running on windows. Run the following command.您应该在 windows 上运行。运行以下命令。

npm install --save-dev @nomicfoundation/hardhat-toolbox npm 安装 --save-dev @nomicfoundation/hardhat-toolbox

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到模块“hardhat/config”或其相应的类型声明 - Cannot find module 'hardhat/config' or its corresponding type declarations 获取错误安装Express JS时找不到模块'cryptile' - Getting error Cannot find module 'cryptile' while installing express js 通过 Hardhat 将智能合约部署到孟买 tes.net 时出错 - Error while deploying a smart contract to Mumbai testnet through Hardhat 无法编译或运行安全帽 - cannot get hardhat to compile or run 我在使用socketstream的node.js时遇到了以下错误。“抛出新的错误(“找不到模块'” + x +”'”)” - I'm getting following error while using node.js with socketstream.“throw new Error(”Cannot find module '“ + x + ”'“)” 为什么我收到错误 [ERR_MODULE_NOT_FOUND]:运行服务器时找不到模块 - Why I'm getting Error [ERR_MODULE_NOT_FOUND]: Cannot find module when running the server 错误:当我运行gulp命令时,找不到模块“扳手”,出现此错误 - Error: Cannot find module 'wrench', I'm getting this error, when i run gulp command 运行main.js时出现错误。 “找不到模块'app'”。 谁能帮我 - I'm getting an error while running main.js. “ Cannot find module 'app' ”. Could anyone help me out 安装 React 时出错 - “找不到模块‘block-stream’ - Error while installing React - "Cannot find module 'block-stream' 在安装npm时出现以下错误 - while installing the npm I'm getting the below error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM