Closed
Description
This is the DeployFundMe.s.sol file.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import {Script} from "forge-std/Script.sol";
import {FundMe} from "../src/FundMe.sol";
contract DeployFundMe is Script {
function run() external {
vm.startBroadcast();
new FundMe();
vm.stopBroadcast();
}
}
when i use forge script script/DeployFundMe.s.sol
, i get an error
[⠊] Compiling...
No files changed, compilation skipped
2025-06-16T07:00:48.821749Z ERROR foundry_compilers_artifacts_solc::sources: error="/home/test/cyfrin_updraft_learnFundry/foundry_fund_me/src/Counter.sol": No such file or directory (os error 2)
Error: failed to read artifact source file for `/home/test/cyfrin_updraft_learnFundry/foundry_fund_me/src/Counter.sol`
anybody know what's wrong with this? Awaiting assistance from a kind soul.
Metadata
Metadata
Assignees
Labels
No labels