Where can you find modules that the npm installed locally after you executed the npm install command?
Experience Level: Junior
Tags: npm
Answer
If you install the module locally using the command npm install <module-name>
, it will be installed in the folder node_modules under your project folder (folder that contains a file package.json).
Related npm job interview questions
Using npm, how do you check if there is a newer version of some the project package?
npm MediorUsing npm, how do you uninstall a package?
npm JuniorWhat does npm init command do and when would you use it?
npm JuniorWhat information is stored about every dependency in the npm file package.json?
npm JuniorWhat metadata does the npm file package.json contain?
npm Junior