safeTransferFrom(): Safe Transfer From owner to newOwner (address) fails:
Error: Transaction reverted and Hardhat_mineBlockWithPendingTxs (node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:1815:23)at async HardhatNode.min
我想在我的测试中使用node_modules中的一个契约,但是我得到了:HardhatError: HH700: Artifact for contract "SomeContract" not found.
这可能是因为/contracts目录下的任何文件都不使用它,因此不会生成工件。有办法在node_module中编译这些合同吗?