Replies: 4 comments 8 replies
-
Quoting from StackOverflow, and yes this follows NPM so bear with me here. NPM has created a node_modules directory at some other path. From your question it looks like you wanted node_modules to be created in the current directory. For that, Create project directory: mkdir project-name
Now do: npm install hadhat Now it will create node_modules directory under folder 'project-name' you created. |
Beta Was this translation helpful? Give feedback.
-
Of course it matters. The program won't run if there are no dependencies installed 🙂 What response do you get when you try to install dependencies by running |
Beta Was this translation helpful? Give feedback.
-
@supaari89 When you clone a project from GitHub, mostly these do not contain node_modules folder because the pub it inside .gitignore file and you will do it also later on. So whenever you install from GitHub or node_module folder is missing in your project just do |
Beta Was this translation helpful? Give feedback.
-
Update: having node_modules in another folder was bothering me so I reinstalled |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have installed Yarn 1.22.15 and noticed it was different from what was shown in the video https://youtu.be/gyMwXuJrbJQ?t=24537 that I don't have node modules folder. I updated Yarn version 3.2.1 yet still no node module
Does it matter in the long run? If it does, how do I get node modules?
Beta Was this translation helpful? Give feedback.
All reactions