8000 section 2: Foundry Fund Me ,episode 8: Advance deploy scripts · Issue #96 · Cyfrin/foundry-fund-me-cu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
section 2: Foundry Fund Me ,episode 8: Advance deploy scripts #96
Closed
@qazwes

Description

@qazwes

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0