Error: ENOENT: no such file or directory, Lesson 9 & 10- creating abi and contract addresses from lesson 9 automatically #2032
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Try and remove the extra dot
Accessing a file normally uses two dots
|
Beta Was this translation helpful? Give feedback.
-
@Sugunaramkumar Hey! this throws an error because your lottery project did not find the location of the |
Beta Was this translation helpful? Give feedback.
-
To find the right folder structure you can also go to the deploy (main) $ cat ../../nextjs-smartcontract-lottery-fcc/constants/contractAddresses.json |
Beta Was this translation helpful? Give feedback.
Try and remove the extra dot
(.)
in these two linesAccessing a file normally uses two dots
(..)
So they should be