Skip to content

lesson 7: Cannot read properties of undefined (reading 'length') #5055

Answered by paulcoffee85
tiwariji99 asked this question in Q&A
Discussion options

You must be logged in to vote

in hardhat-config: You are missing:
require("dotenv").config()

Also: check your package.json, make sure it's installed and showing in dependencies.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@paulcoffee85
Comment options

@tiwariji99
Comment options

@paulcoffee85
Comment options

@tiwariji99
Comment options

@Devansh-Mehra
Comment options

Answer selected by tiwariji99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants