Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

334
Views
TypeError: Cannot read properties of undefined AND Error: ERROR processing skip func

The error(s) I'm getting (while deploying, see end for code)

Error: ERROR processing skip func of /home/amey/hardhat/hardhat-fund-me/deploy/01-deploy-fund-me.js:

TypeError: Cannot read properties of undefined (reading 'ethUsdPriceFeed')

When I click on the error, i'm taken to this line in 01-deploy-fund-me.js (in another file)

ethUsdPriceFeedAddress = networkConfig[chainId]["ethUsdPriceFeed"]

here is the code i was trying to deploy

const { network, getNamedAccounts, deployments } = require("hardhat")
const {
    developmentChains,
    DECIMALS,
    INITIAL_ANSWER,
} = require("../helper-hardhat-config")

module.exports = async ({ getNamedAccounts, deployment }) => {
    const { deploy, log } = deployments
    const { deployer } = await getNamedAccounts()
    const chainId = network.config.chainId

    if (developmentChains.includes(network.name)) {
        log("Local network detected! Deploying mocks...")
        await deploy("MockV3Aggregator", {
            contract: "MockV3Aggregator",
            from: deployer,
            log: true,
            args: (DECIMALS, INITIAL_ANSWER),
        })
        log("Mocks Deployed!")
        log("--------------------------------------------------------------")
    }
}

module.exports.tags = ["all", "mocks"]

Thank You.

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!