Lesson 6: not getting all dependencies #3463
-
I am not getting all the dependiencies that patrick get when running yarn hardhat and following the other steps to install the dependencies that i am getting in package .json are "devDependencies": { It would be great if someone could let me know how to get dependencies like |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@jovinkassi Make sure not to install dependencies using the command, instead just copy the package.json file to your project. Because now things are updated and if you install these through the command then all the latest dependencies will install for that you also need to update the code otherwise you will face other issues. While you are learning, I would suggest you to do that and after learning move to the latest dependencies. |
Beta Was this translation helpful? Give feedback.
-
@jovinkassi : Means, In your project's directory, There should be a file name
And after doing that :
Now, you are all good! |
Beta Was this translation helpful? Give feedback.
-
Delete the installed packages and simply copy and paste directly from the Repo.. Then run |
Beta Was this translation helpful? Give feedback.
-
Thanks everyone for helping me out ,i did it finally: First i copied package.json file from patrick code to my file, yarn hardhat clean once again thanks for everyone helping me out with the issue...Thanks |
Beta Was this translation helpful? Give feedback.
Thanks everyone for helping me out ,i did it finally:
First i copied package.json file from patrick code to my file,
Then i made sure that hardhat-config.js was updated according to the packages available in packages.json
then finally i runned the following
yarn hardhat clean
yarn
yarn hardhat compile
once again thanks for everyone helping me out with the issue...Thanks